Byte-snake-engine/cli/commands
Rob O'Dwyer 82e1999126
DEV-1761: New rules API (#118)
* DEV-1761: Clean up Ruleset interface (#115)

* remove legacy ruleset types and simplify ruleset interface

* remove unnecessary settings argument from Ruleset interface

* decouple rules.Settings from client API and store settings as strings

* DEV 1761: Add new BoardState and Point fields (#117)

* add Point.TTL, Point.Value, GameState and PointState to BoardState

* allow maps to access BoardState.GameState,PointState

* add PreUpdateBoard and refactor snail_mode with it

* fix bug where an extra turn was printed to the console

* fix formatting

* fix lint errors

Co-authored-by: JonathanArns <jonathan.arns@googlemail.com>
2022-10-28 16:49:49 -07:00
..
testdata DEV 1916: Fix output issues in CLI (#114) 2022-10-20 13:16:52 -07:00
colors.go Colored board (#59) 2021-12-08 10:43:40 -08:00
http.go DEV 1793: Track latency, status codes, and errors from CLI games (#113) 2022-10-04 15:53:29 -07:00
info.go DEV 1666: Fix /end requests and clean up logging (#109) 2022-09-02 14:35:55 -07:00
list.go add 'map' cli command to provide map information (#100) 2022-08-09 15:06:28 -07:00
map.go DEV 1666: Fix /end requests and clean up logging (#109) 2022-09-02 14:35:55 -07:00
names.go DEV 1666: Fix /end requests and clean up logging (#109) 2022-09-02 14:35:55 -07:00
output.go DEV 1916: Fix output issues in CLI (#114) 2022-10-20 13:16:52 -07:00
play.go DEV-1761: New rules API (#118) 2022-10-28 16:49:49 -07:00
play_test.go DEV-1761: New rules API (#118) 2022-10-28 16:49:49 -07:00
root.go DEV 1666: Fix /end requests and clean up logging (#109) 2022-09-02 14:35:55 -07:00