boardgamers / gaia-engine

Javascript engine for project gaia
MIT License
13 stars 6 forks source link

End turn #44

Closed rzulian closed 6 years ago

rzulian commented 6 years ago

Implemented end turn management and sigle line turn actions. This is managing also factions after the main action. Code is checking for the final dot in a move. This means end turn. We should implement the client side accordingly:

  1. new command are appended on the same line if same player
  2. end turn command adds a dot a the end of the line
coyotte508 commented 6 years ago

The dot at the end of a command is nice touch. I knew about the dot between commands in the same turn, but didn't think of using it at the very end of a line to signify the turn was ended.