Skip to content
This repository has been archived by the owner on Jan 31, 2024. It is now read-only.

VictorShan/tic-tac-toe

Repository files navigation

Tic-Tac-Toe

Realtime, multiplayer tic-tac-toe game using firebase.

This project is still incomplete. There are additional features that will be added and bugs that will be fixed. So far, the basic features of the project works.

How to play

Click the link to go to the game page. (It might take a second for servers to spin up)

To play, enter a lobby ID to create or enter a lobby. Lobbies will be recycled after 3 hours. Another player must also enter the same lobby ID to join your game. Once they enter, the game starts. There is no indicator for whether or not the opponent is still there. This feature will be added soon.

Once the game ends, players will need to create a new lobby to play again.

One of the players must be in incognito mode/private mode or on a different browsers (Chrome, Firefox, etc.) or using a different device to play against each other.

Differences in Version 2

  • Replay/multiple matches per lobby
  • Mobile friendly
  • Spectate game

Future Features

  • Automatic matchmaking
  • Play a game locally on the same device/browser
  • Simple AI to play against
  • PWA