previous
|
index
|
next
Modifications Needed for Three-Pile Nim
With three piles, the
display-game-state
procedure must be modified to display like:
Pile 1: 8 Pile 2: 5 Pile 3: 7 Which pile will you remove from?
You will also need to make minor changes to:
make-random-state
total-size
next-game-state
human-move
You will be able to test your changes after the next step.
previous
|
index
|
next