W3D1
Built a JSON API of TicTacToe that:
Exposes game logic over HTTP
Returns JSON (e.g. {"board": [...], "curr_player": "1", "winner": null})
Accepts JSON bodies for moves
Runs on localhost (127.0.0.1:8000)
Stores state in SQLite
I made this as simple as possible since I was just trying to learn what building an API is and pairing a database along with it. I guess I had expected to be able to port my game_play loop for the CLI tic-tac-toe game but it wasn't quite like that since each curl request is one iteration where the client drives the loop by making requests.