Hello there, so basically I have to write a programme for a Nim game in Wombat.
This wombat programme will play interactively
against a human opponent and win, if it starts. At the beginning the user should
be able to input the numbers of stones.
The key problem in the algorithm is taking the bitwise XOR of the num-
bers of stones. So let's say I assume that there is a maximum number of
stones in each pile (say 15).
And I think use of subroutines is important as well.
Any help would be great appreciated.
0 · ·