Server for bots to play Hanabi.
- Install Go
$ go run *.go
$ curl -H "Content-Type: application/json" -X POST -d '{"num_players":2,"name":"thegame"}' http://localhost:9001/hanabi/start-game
$ curl -H "Content-Type: application/json" -X POST -d '{"game_name":"thegame","player_name":"p1"}' http://localhost:9001/hanabi/join-game | jq .
$ curl -H "Content-Type: application/json" -X POST -d '{"game_name":"thegame","player_name":"p1"}' http://localhost:9001/hanabi/dump-state | jq .
server <- (start-game)
server -> ok
server <- (join-game)
server -> ok
server <- (get-state wait:true)
...
server -> ok
server <- (move)
server -> ok