From d2390a95f6039c2b2a1de557316e13072481ce24 Mon Sep 17 00:00:00 2001 From: Jean-Pierre Appel Date: Wed, 25 Oct 2023 02:10:45 -0400 Subject: add TODO's for conference and sample game --- TODO.md | 23 +++++++++++++++++++++++ sample_game.json | 20 ++++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 TODO.md create mode 100644 sample_game.json diff --git a/TODO.md b/TODO.md new file mode 100644 index 0000000..9492af5 --- /dev/null +++ b/TODO.md @@ -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": "" +} -- cgit v1.2.3