Relocating

This commit is contained in:
Brian Buller 2018-12-03 19:40:11 +00:00
parent e1d46e7b90
commit 0902e1d5b1

View File

@ -16,10 +16,10 @@ func main() {
os.Exit(1)
}
playerCount, marbleCount = Atoi(os.Args[1]), Atoi(os.Args[2])
part1()
playGame()
}
func part1() {
func playGame() {
g := NewGame(playerCount, marbleCount)
for i := 1; i <= marbleCount; i++ {
if i%23 == 0 {