robinmaypanpan / gamegalaxy

Automatically exported from code.google.com/p/gamegalaxy
0 stars 0 forks source link

EndMove() will end the current turn even if it is not legal to do so #119

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. call the engine's EndMove() method at the very beginning of a turn
before any steps have been made.  (the UI does not display the "End Turn"
button when it is not legal to end the turn, but the method can still be
called.)

Expected Behavior?
EndMove() should return an error, or should ignore illegal requests to end
the current turn.

Observed Behavior?
EndMove() allows the current turn to be ended incorrectly.

Original issue reported on code.google.com by andrea.l...@gmail.com on 22 Dec 2009 at 5:00

GoogleCodeExporter commented 8 years ago
Fixed by r88.

Original comment by andrea.l...@gmail.com on 22 Dec 2009 at 5:22