This is a desktop version of the popular board game Battleship written in Python 2.7.
Download a 32-bit version of pygame from pygame. For Mac OS X users, you can download pygame directly from here.
Make sure that you have Python 2.7 installed. You may download the appropriate version here
To run the game, go the main directory and run python2.7-32 main.py
from the command line.
The game plays exactly as the table-top version except that players' fleet configurations are randomly determined at start. To receive indication of hit or miss, turn sound on. A "kaboom" means a hit, and a "sploosh" means a miss. Press enter to reveal each player's side of the board. Click on the square that you want to fire at.
The left board (in green) is the current player's board. The board on the right (in red) is the current player's view of the enemy board.
These images were designed by Koh Terai for the game we developed for an Intro to CS class in 2013.
The salvatoreSinkingShips.mp3 file was made by converting the following video to mp3. Salvatore's Sinking Ships is a mini-game within the video game, The Legend of Zelda: the Wind Waker, released by Nintendo on the Nintendo GameCube.