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):
  1. X is represented using two diagonal lines: x - i = y - j and x - i + y - j = 1 with the boundaries i < x < i + 1
  2. O is reresented using a circle: (x - i - 0.5)2 + (y - j - 0.5)2
To use the website:
  1. Enter the current tic tac toe game state into the text boxes below
  2. Click on the "Generate Game" button
  3. To save the current game state as an image click the "Get Image" button
  4. Enjoy!

Game grid input:

Graph output: