Socket
Book a DemoInstallSign in
Socket

battleship-game

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

battleship-game

Terminal battleship game

latest
Source
npmnpm
Version
1.0.3
Version published
Maintainers
1
Created
Source

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)

Keywords

battleship

FAQs

Package last updated on 04 Aug 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts