Compare commits
1 Commits
e3971d2ff6
...
b8fc3da28c
Author | SHA1 | Date | |
---|---|---|---|
b8fc3da28c |
@ -141,16 +141,4 @@ end
|
||||
|
||||
---
|
||||
|
||||
## Interface
|
||||
|
||||
```elixir
|
||||
receive do
|
||||
{:start_game, paticipants} -> {:new_game, game, game_state}
|
||||
{:make_move, game, participant, move} -> {:update_game, game, game_state} or {:game_finished, game}
|
||||
{:get_game_state, game} -> {:game_state, game, game_state}
|
||||
end
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
#### Questions?
|
||||
|
Reference in New Issue
Block a user