core.Movement module¶
-
class
Movement(player, place)[source]¶ Represents a movement played by a player.
Variables: - place (2-list of int) – The place [line, column].
- turn (int) – Must be set in board.play().
- player (Player) – The player playing.
Parameters: - player (Player) –
- place (2-list of int) –
Warning
self.turnmust be set inBoardAndRules.play().