Skip to content

Latest commit

 

History

History
10 lines (6 loc) · 429 Bytes

README.md

File metadata and controls

10 lines (6 loc) · 429 Bytes

javascript-battleship

A classic Javascript Battleship game that I created to help me better understand Javascript.

This was adapted from "Head First Javascript Programming, 2nd Edition" by Eric Freemand and Elizabeth Robson

My eventual goal is an AI that one can play against.

The AI guesses based on a probability density function.

The current version, huntMode3, has an average of 45 guesses, with a low of 30 guesses.