This app lets you play tictactoe with an "AI" (an algorithm) that plays the role of the 2nd player.
It records the history of game results in your browser's local storage.
Players can :
- Choose is they want to play the "X" or "O" symbol
- Choose their usename
- Change who plays first depending on the symbol the player chose
- Add a proper router for page management
- Refactor to experiment with states machines (with XState ?)
Some animations/styles don't work/are janky on Firefox.
To ensure all functionalities work as expected, you should use a Chromium-based browser like Google Chrome, latest versions of Edge, Opera, etc.
- NodeJS 16+
To start the app in dev
mode.
To build the app for production.
To preview the production build locally.
To run tests (with ts-jest
).