Relocating
This commit is contained in:
parent
e1d46e7b90
commit
0902e1d5b1
@ -16,10 +16,10 @@ func main() {
|
|||||||
os.Exit(1)
|
os.Exit(1)
|
||||||
}
|
}
|
||||||
playerCount, marbleCount = Atoi(os.Args[1]), Atoi(os.Args[2])
|
playerCount, marbleCount = Atoi(os.Args[1]), Atoi(os.Args[2])
|
||||||
part1()
|
playGame()
|
||||||
}
|
}
|
||||||
|
|
||||||
func part1() {
|
func playGame() {
|
||||||
g := NewGame(playerCount, marbleCount)
|
g := NewGame(playerCount, marbleCount)
|
||||||
for i := 1; i <= marbleCount; i++ {
|
for i := 1; i <= marbleCount; i++ {
|
||||||
if i%23 == 0 {
|
if i%23 == 0 {
|
||||||
|
Loading…
Reference in New Issue
Block a user