Skip to content

spandanpal22/Online-Multiplayer-TicTacToe

Repository files navigation

Online Multiplayer Tic-Tac-Toe Game

Play the classic Tic-Tac-Toe game online with your friends and chat at the same time.

How to play?

1. Create your profile on the site and sign up.

2. Now open the play section where you can either create a game room for your friend and yourself or join an already created room by your friend.

NOTE - Choose such a room name which is not already taken and share it only with that friend of yours whom you want to play the game with. A room can have only 2 players. Only players having permission to join a particular room can join the room.

3. After entering the room players can start the game and also chat with each other at the same time. No chat is stored so once you refresh the page the chats will be gone.



Features of this application

1. Users can create their accounts and login to access the features of the application.

2. Users can also reset their account passwords in case they forget it.

3. Users can create or join rooms to play the game and chat in real time with their friends.

4. Users can view their profiles.

5. Users can view their match history and re-enter the rooms they were part of.

6. The application uses websockets to implements all the real time features.

7. The application also uses API endpoints built within itself.

8. The Heroku link of this application is Google searchable.

9. The entire application is responsive which is done using Bootstrap.



About this application

This application is built using django. It uses websockets for real time communication which is implemented using django-channels. In the front-end part, this application is responsive and uses Bootstrap for that. This is an ASGI application(Not WSGI).

I have hosted this application on Heroku but as I am using free tier of Heroku. So, while playing it there you might not get the best performance of this application. To play the game on my hosted application on Heroku CLICK HERE. Though I would suggest you to run this on your PC if you really want to test it as Heroku free tier has a lot of limits.