McCADE FREEMAN
software engineer
BATTLESHIP
I wanted to make something a little more complex, something with some rudimentary AI. Thus, battleship came to be. I aim to eventually replace the ship placement system with a drag-and-drop method.
To play: click squares on the left (or top on a narrow screen) grid to create ships. There should one five-length, one four-length, two three-length, and one two-length ships. Click start to generate the opposition's ships, then click their grid until a winner appears.
a | b | c | d | e | f | g | h | i | j | |
1 | ||||||||||
2 | ||||||||||
3 | ||||||||||
4 | ||||||||||
5 | ||||||||||
6 | ||||||||||
7 | ||||||||||
8 | ||||||||||
9 | ||||||||||
10 |
a | b | c | d | e | f | g | h | i | j | 1 |
2 | ||||||||||
3 | ||||||||||
4 | ||||||||||
5 | ||||||||||
6 | ||||||||||
7 | ||||||||||
8 | ||||||||||
9 | ||||||||||
10 |