Skip to content

garthendrich/battleship

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

Battleship

An attempt to recreate the popular board (or paper and pencil) game with the personal motivation of enhancing skills in html, css, and vanilla javascript.

Play a game

You can try the game by this link.

Screenshots

homescreen.png

setup.png

fight.png

gameover.png

Spoilers!

The AI uses techniques called parity and probability density functions (from Data Genetics blog in 2011) in which it checks all possible locations the enemy ships could fit in and calculates for the most probable cell to fire at next.

About

A browser-based adaptation of the classic pen and paper game. (better used in larger screens)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published