Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 543 Bytes

README.md

File metadata and controls

18 lines (13 loc) · 543 Bytes

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