Skip to content

mgautam07/Battleship

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Battleship 🚢

Battleship is a strategy type guessing game for two players.

It is played on ruled grids (paper or board) on which each player's fleet of warships are marked. The locations of the fleets are concealed from the other player. Players alternate turns calling "shots" at the other player's ships, and the objective of the game is to destroy the opposing player's fleet.

Technologies used

  • NextJs -> Frontend framework
  • Tailwind CSS -> CSS styling
  • ExpressJs -> Node server
  • Socketio -> Sockets
  • Flywheel -> Leaderboard
  • Firebase -> Authorization an Storage

Features

  1. Singleplayer mode

2. Multiplayer mode

3. Authorization by Firebase

4. Realtime Leaderboard

Cloning project

git clone https://github.com/mgautam07/Battleship.git
cd Battleship
npm run start

Installing backend dependencies

cd backend
npm i
npm run dev

Installing frontend dependencies

cd frontend
npm i