Skip to content

joeframbach/battleship-ai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Battleship AI Practice

Two functions are defined: setupStrategy and playStrategy.

They are really simple functions right now, they play randomly with no real strategy.

Try to improve them.

Steps:

  1. Fork this repo and clone your fork.
  2. python -m SimpleHTTPServer
  3. Visit localhost:8000
  4. Modify setupStrategy or playStrategy in script.js
  5. Refresh your browser and try your changes.
  6. Goto 4.
  7. Commit and push to the gh-pages branch.
  8. See your results LIVE at https://yourgithubname.github.io/battleship-ai

Releases

No releases published

Packages

No packages published