Skip to content

Aermax/online-tictactoe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 

Repository files navigation

XO Online Tic Tac Toe Multiplayer with Socket.io

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

How to Play

  1. Clone the repository to your local machine. shell git clone https://github.com/aermax/online-tictactoe.git
  2. Navigate to the project directory. shell cd online-tictactoe
  3. Install dependencies. shell npm install
  4. Start the development server. shell npm run dev in both client and server
  5. Open your browser and visit http://localhost:5173.
  6. Share the link with your friends and start playing together!

Features - Multiplayer functionality using Socket.io.

  • Real-time game updates and notifications. - Randomly selects starting player.
  • Basic error handling for invalid moves or disconnections.
  • Responsive design for various screen sizes.

Technologies Used

  • HTML
  • CSS
  • JavaScript
  • Node.js
  • Express.js
  • Socket.io

Acknowledgements - Socket.io Documentation

--- Feel free to contribute to this project by creating pull requests or reporting issues. Have fun playing Tic Tac Toe online with your friends!

About

An Online Multiplayer Tictactoe based on socket io

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published