Async tic tac toe is game which build on top of latest trending tech stack. It is a tic tac toe but with slight twist. Both the player need not be be online at same time they can play the game at their own convenience withoug worring about game progress.
- First clone the repository
- Run yarn on the frontend repository to install all the dependencies
- Then run yarn dev to run application locally
- Ther server is deployed at https://tic-tac-toe-jmkd.onrender.com
- Uses MVC architecture in the backend with Node Js and Express
- To main and scale the application i have used the MVC(Model View Controller) architecture in the backend
- The frontend and backend is fully build on typescript to imporove the code quality and convienience
- The frontend used the axios and react queyr to fetch the api data with inbuild caching
- The backend has jwt authentication with secure token rotation system
- Using rate limiter to avoid multiple requests at once and to avoide any attack
- The tailwind css is used to style the appliction
- The backend architecture is scalable to handle multiple users
- When the game is finished there are many socket events comes to the frontend due to which transaction issued is occuring the to the database due to which sometime may be game is not updated at the database even though it finisehd.
- Faced the problem related to implement X for both players and O for there opponents
- Login using username and password
- Register with basic details
- See all the games going on and games that played before with their result
- Create a new game with anyone with just their email address
- Play real time tic tac toe with the opponent







