Got a working version of the nim play code. Sure enough, and just
like in the lecture, the computer wins after all that training. Who goes first
is set randomly so I played the computer against itself. Player 2 won!?
https://github.com/nahueespinosa/ai50/blob/master/nim/nim.py
No comments:
Post a Comment