Go v0.4.3 Go.Turn View Source
Documentation for Go.Turn
This entity is responsible for saving a turn in the game. It will persists:
- current_board before the move as fengo string
- the turn's move
- a list of additional actions, eg place/remove stone/s
It will be used to check for superko rule
Link to this section Summary
Functions
Returns a new turn from a map. Because of enforce_keys, You must pass key/val in the structure constructor
Link to this section Types
Specs
move() :: any()
Specs
Link to this section Functions
Returns a new turn from a map. Because of enforce_keys, You must pass key/val in the structure constructor