Kalah - Undo feature
$15-30 NZD
S-au achitat serviciile după ce au fost prestate
Implement that "Undo" change case based on my code. This allows the current player to undo their last move. The player specifies that they want to undo their move with 'u'.
Undo applies to a "move" not a "turn". Players take turns, during which they indicate what move they want to make. So, for example, if their first choice ends in their own store, they get to choose another house, that is, make another move.
The undo comment returns the state of the game to what it was before their last move. If they had multiple moves, they can undo multiple times. Note that there is no "redo".
If they have not made any moves in their turn, or have undone all the moves they made, then if they try to undo the response should be "Invalid command. Try again."
New implementation must pass all the tests
ID Proiect: #27787023
Detalii despre proiect
2 freelanceri plasează o ofertă medie de 19$ pentru proiect
Hello, I've complete MS Software Engineering. I've 5-Year experience in Java development and algorithm implementation. My Core Expertise in Java - C++ - C - object-oriented - Data Structure - Swing - OpenGL - JavaFX. Mai multe
Hello. I have experience in Java development and OOP and can help. Feel free to contact me to discuss the details.