02-16-2020, 10:23 PM
We did not understand each other. I find surprising that there is no correspondence between the actions of game.moves(context).moves() and context.trial().Moves() (or equivalently context.trial().LastMove( )).
For example, in the Amazons game, a player can play the action Move(60-70) while the corresponding action given by context.trial().LastMove() is, for example, [Move (60-70), SetNextPlayer (2)], and not just "Move(60-70)". My initial question was: is there a method that returns the action as it was chosen by the previous player (possibly the same player), i.e., without any enrichment of the action due to the rules of the game.
For example, in the Amazons game, a player can play the action Move(60-70) while the corresponding action given by context.trial().LastMove() is, for example, [Move (60-70), SetNextPlayer (2)], and not just "Move(60-70)". My initial question was: is there a method that returns the action as it was chosen by the previous player (possibly the same player), i.e., without any enrichment of the action due to the rules of the game.