Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

README.md

Battleship game

This program is a battleship-game written in Processing. The entry point is the file game.pde.


Usage

  • First click on Start
  • After that position five of your ships in the playfield.
  • Then click on the button Done
  • Now you can guess ships of the computer. If you assume a ship on a certain field, then click on the field.

By each click on a field the computer makes a guess, too.


Assets

The game uses the following assets.


Classes

The game use the following classes.

  • Button -- for the UI.
  • Schiff (german for ship)
  • Welt (german for world)

The file game.pde contains the main program.