Demos Class Project Siddhant Attavar
About this project:
This website graphs any tic tac toe game state on desmos using only mathematical functions. For cell (i, j, 0 <= i, j <= 2):
- X is represented using two diagonal lines: x - i = y - j and x - i + y - j = 1 with the boundaries i < x < i + 1
- O is reresented using a circle: (x - i - 0.5)2 + (y - j - 0.5)2
To use the website:
- Enter the current tic tac toe game state into the text boxes below
- Click on the "Generate Game" button
- To save the current game state as an image click the "Get Image" button
- Enjoy!
Game grid input:
Graph output: