For my CS1 class we have to write a simple battleship game.

I'm having trouble even knowing where to begin. After I get a basic skeleton of functions and classes I think I will know where to begin.

We have to use the Zelle graphics.py module

ANY help would be much appreciated.

I would start with building the board.
Then create a class called ship and methods that change the size of the ship and move it.
The ships are be stored in a stack for drawing.
Mostly likely user input will be from console input, so make sure your board has letters and numbers displayed.

Just ideas to get you started.

Like tbone2sk said, start with a class of Ship.

After that, build different classes of different Ships based on the original Ship

Define a class for the square and their relative location in 2D space.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.