Skip to content

ricardofbarros/battleship-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

132 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Battleship game

intro

Installation & Game start

npm i battleship-game -g
battleship-game

If you don't want to install this game globally you can do the following:

git clone https://github.com/ricardofbarros/battleship-game.git
cd battleship-game
node bin/game.js

In game screens

game2

game1

Settings

settings

Board settings

  • Dimensions: Configure the game board size

Only "square" dimensions allowed, 10x10, 9x9, 8x8, etc.

  • Pretty Board: Emojis on/off

If your terminal doesn't support emojis you should turn this setting off.

Units quantity

Configure how many units should be in the game.

You can easily add custom units to the game by editing this file.

Future features

  • Make peer-to-peer game session
  • Different Npc Levels (easy, medium, hard)

About

Terminal battleship game

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors