Library of two-player logical games for WUT students
Two primary base classes of the games are Game and State.
These two classes have very similar functionalities, with the following differences:
- a
Gameobject contains aStateobject - making move on a
Gameobject changes its state while making move on aStateobject returns new state without affecting the previous one. - a
Stateobject may have more game-specific functionalities
Common functionalities of Game and State:
- getting the list of avaliable moves
- getting current player
- checking if a game has finished