Please enable JavaScript to use CodeHS

  • Autograded

Battleship

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

Hard

35 Hours

High School

Project Description

Project Demo

Explore this program before assigning it!

Project Overview

Here is an outline of the project activities:
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
Battleship Part 5: The Player Class
Battleship Part 6: The Battleship Class
Battleship Part 7: Finishing the Game
Battleship Extensions