From: Carl Worth Date: Mon, 1 Jun 2020 18:30:06 +0000 (-0700) Subject: tictactoe: Change /move event to have data named "move", not "square" X-Git-Url: https://git.cworth.org/git?p=empires-api;a=commitdiff_plain;h=9426bf42aaa7c88c86de4c3ac02a694df8362fda tictactoe: Change /move event to have data named "move", not "square" We're intentionally being more generic here that the API could be generalized, (allowing for an implementation in a base class handling things in the general case). --- diff --git a/tictactoe.txt b/tictactoe.txt index b79f72c..2211a05 100644 --- a/tictactoe.txt +++ b/tictactoe.txt @@ -50,4 +50,4 @@ For a specific game the following API endpoints are defined. Behavior: Adds a new move to the game - Example data: { "square": 4 } + Example data: { "move": 1 }