
Product
Announcing Socket Fix 2.0
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
battleship-cli
Advanced tools
A super cool, fun, and easy to play command line implementation of Battleship, the classic 2-player guessing game. Built in JavaScript, battleship-cli
is a simple NodeJS program, with CLI interface enabled by InquirerJS, and colorized by chalk.
npm install -g battleship-cli
yarn global add battleship-cli
npm install
or yarn install
to install dependenciesnpm i -g
to make the module available globallybattleship
command from any directory*Note: If anything except version 1.1.0
gets pulled down, please explicitly install the correct version instead by appending @1.1.0
to either command.
Type help
and hit return at any time during gameplay to show these instructions.
show score
at any time to check the status of the game.quit
or q
at any time to quit the game.submarine e3 up
or carrier j7 left
. Ships cannot overlap, and you must stay within the bounds of the board.A1
, B7
, J10
, etc.btl a9 r
or cru i6 u
X
(depending on Emoji support)0
(depending on Emoji support)
FAQs
A Battleship CLI game, built with JavaScript
The npm package battleship-cli receives a total of 0 weekly downloads. As such, battleship-cli popularity was classified as not popular.
We found that battleship-cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Product
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.