Skip to content

HarelYoav/BattleShip-React-Multiplayer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BattleShip Multiplayer React

You can find a Live version

This project was created with "create react app" (Typesctipt template)

The Backend is using express and socket.IO

When first connect to the game, the player have to choose a name. Afterwards the player can see a list of all the players that are currently online. Screenshot from 2022-10-25 09-40-13

Each player can invite any online player to play. Screenshot from 2022-10-25 09-40-22

If a player confirm the invitation, the players will move to the next screen that will allow them to orginaize their Ships. Screenshot from 2022-10-25 10-39-24

Once a plyer placed all his Ships he will be able to press "Start" to indicate that he is ready to play. Screenshot from 2022-10-25 10-40-09

When both player are ready to play, the will start. The first player that was ready will go first. Screenshot from 2022-10-25 10-40-22

Each player on his turn choose a cell on the opponent board to shoot on. Screenshot from 2022-10-25 10-41-14

The game will end while one of the player will loose all his Ships.

#To test this game on your local machine.

Please clone the project.

#The client side can be start with "npm start"

#The server side can be start with "npm run dev"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors