Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 1.31 KB

README.md

File metadata and controls

24 lines (19 loc) · 1.31 KB

React-App

tic-tac-toe-with-socket.io

online Multiplayer tic tac toe game ReactJs and socket.io

Context of the project :

To understand the most important aspects behind socket.io which allow you to quickly develop Socket servers and build client-side applications using Javascript and React to connect to the server and communicate and exchange data through an event driven mechanism , create a complete Tic-Tac-Toe multiplayer online game using Socket.io, Node.js, Express.js and React and make it work perfectly so that you can use it between your friends and have a good time together playing at XO.

Performance criteria :

  • Configuring Express Server Project and Installing Dependencies
  • Creating Socket.io server with Express
  • Setting up the React client application
  • Connecting the Socket client to the Socket.io server
  • Socket.io Custom Events (Send and Listen)
  • Socket.io Rooms and join custom rooms for our game
  • Allow user to tap and join custom game room
  • Creation of our Tic Tac Toe game board
  • Update game board via sockets between multiplayer
  • Manage player turns during a game
  • Send game start event when players are ready
  • Check if a player has won the game
  • Send Win status to another player