This project is a simple online Tic Tac Toe game that allows multiplayer functionality using Socket.io. The game is built with HTML, CSS, and JavaScript, and it utilizes the Socket.io library to enable real-time communication between multiple players.
Live Site - XO
- Clone the repository to your local machine.
shell git clone https://github.com/aermax/online-tictactoe.git
- Navigate to the project directory.
shell cd online-tictactoe
- Install dependencies.
shell npm install
- Start the development server.
shell npm run dev
in bothclient
andserver
- Open your browser and visit
http://localhost:5173
. - Share the link with your friends and start playing together!
- Real-time game updates and notifications. - Randomly selects starting player.
- Basic error handling for invalid moves or disconnections.
- Responsive design for various screen sizes.
- HTML
- CSS
- JavaScript
- Node.js
- Express.js
- Socket.io