Please enable JavaScript to use CodeHS

AP Computer Science A (Mocha - 2019 AP CSA Framework)

Battleship

In this project, students use Object Oriented design to implement the board game Battleship.

Lessons

7.1 Battleship

  • Battleship Demo
  • Battleship Part 1: The Ship Class
  • Battleship Part 2: The Location Class
  • Battleship Part 3: The Grid Class
  • Battleship Part 4: Adding a Ship to the Grid
  • +4 more