Battleship

The classic Battleship game, one player version.

The game of Battleship is a classic game from the early 20th Century in which you try to guess the locations of your opponent’s ships in a grid.

You may be able to play Battleship online but do not waste much time doing that kind of research. Playing on paper is better for developing your understanding of what information needs to be tracked (the model).


Battleship Model

Play battleship on paper to develop the model.

Battleship Examples

An example of how to use the model you defined.

Battleship Outline

Game logic, draw handler, mouse handler.

Battleship Checks

Check-expects for the tricker functions in battleship.

Battleship Action

Warm-ups for the draw and mouse handler.

Battleship Complete

What should the complete version of battleship look like?

Last modified August 18, 2023: 2022-2023 End State (7352e87)