diff options
| -rw-r--r-- | TODO.md | 23 | ||||
| -rw-r--r-- | sample_game.json | 20 |
2 files changed, 43 insertions, 0 deletions
@@ -0,0 +1,23 @@ +# TODO + +* [ ] create api documentation + +## Server + +* [ ] create /toggle/newgame endpoint + * get request with query parameter board size + * ex: `GET jpappel.xyz/toggle/newgame?length=5 HTTP/3.1` + * responds with new json for game of a certain length +* [ ] rename /toggle/query endpoint to /toggle/play +* [ ] start uwsgi script + +## Site + +* [ ] js + * [ ] render game function +* [ ] css + * [ ] color scheme +* [ ] html + * [ ] add info about toggle to top of page + * [ ] add contact info + * [ ] add link to poster pdf diff --git a/sample_game.json b/sample_game.json new file mode 100644 index 0000000..c1e4058 --- /dev/null +++ b/sample_game.json @@ -0,0 +1,20 @@ +{ + "size": 10, + "finished": false, + "board": [ + true, + true, + true, + true, + true, + true, + true, + true, + true, + true + ], + "turn": 0, + "version": "0.0.0", + "human_turn": false, + "winner": "" +} |
