From aff2a496df3bd1a9648d1c63a3d29f852a519174 Mon Sep 17 00:00:00 2001 From: Andre Henriques Date: Tue, 9 Jan 2024 12:09:25 +0000 Subject: [PATCH 1/2] chore: update presentation --- presentation/presentation.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/presentation/presentation.md b/presentation/presentation.md index 309cfed..ccf415f 100644 --- a/presentation/presentation.md +++ b/presentation/presentation.md @@ -141,4 +141,16 @@ 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? From e3971d2ff6552e63294503ef3b26ed553c98ec29 Mon Sep 17 00:00:00 2001 From: Andre Henriques Date: Tue, 9 Jan 2024 15:03:12 +0000 Subject: [PATCH 2/2] chore: fix presentation --- presentation/presentation.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/presentation/presentation.md b/presentation/presentation.md index ccf415f..40ee381 100644 --- a/presentation/presentation.md +++ b/presentation/presentation.md @@ -134,7 +134,7 @@ end ## Safety - If a game state exists, then it was created by a user - - The game state can not divert. + - The game state cannot divert. ## Liveness - Eventually all users will have the same game state