Skip to content

A nodeJS bot for the boardgame battleship. Implements a random selection strategy

Notifications You must be signed in to change notification settings

kadenBeckstead/battleship_bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

To run this:

  1. run npm install axios

  2. run npm install express

  3. If the game is manually determined (pitting against another player): 3a. Comment out line: 13 & 16 of the index.js 3b. Uncomment lines: 14 of the index.js 3c. edit gameId to the relevant Game Id

  4. If the game is against the default bot, 4a. Uncomment lines 13 & 16 of the index.js 4b. Comment out line 14 of the index.js

  5. run node index.js

  6. Navigate to the following link and replace with the corresponding game id (will be output to the console)

http://battleship-smackdown.club/games/

***NOTE: Additional documentation found at http://battleship-smackdown.club

Google Doc with extra info on the requests and responses: https://docs.google.com/document/d/1NpUPbJF-UHaQk_7VQrVxbLNQ9JVFtUcSxZDw3pg3My8/edit#

About

A nodeJS bot for the boardgame battleship. Implements a random selection strategy

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published