Battle Sea Source Code

Battle Sea Source Code
Matteo Varisco, MacApp2PPC Developer



Battle Sea
Version 4.0.0



What is Battle Sea 4.0.0

Battle Sea 4.0.0 is the classic game of the battle ships in Carbon version.

Battle Sea 4.0.0 has been written by Matteo Varisco with the following programs:

If you wish to contact me to notes some bugs of the program, you can write me at the following address:

matteovarisco@tin.it

or you can use the form on my web site at the page "How to contact me":

http://web.tiscali.it/matteovarisco/

The program has been written in Pascal language using the library Carbon 1.2, so is possible to use it on any Macintosh which has:

I have developed the program on a PowerMac G4 with installed MacOS 9.0.4 and I have tested the program even on a iMac with MacOS 9.1 and MacOS X 10.0.3.

This game is freeware.


Source Code Package

The source code for Battle Sea has been made publicly available here on Pascal Central. The source code package contains the project for CodeWarrior Pro 4 Academic Pascal, the source code, and a running application. This version is in English. You can download the Italian version of the application from Matteo's web site.

Download the Source Code Package (approx 216K)



Rules of the game

The rules are those classic of the battle sea:


This picture shows the window of the game after the selection of the menu item "New" in the menu "File"


This picture shows the window of the game after the selection of the menu item "New Game" in the menu "Game"


This picture shows a random placing of the ships after the selection of the menu item "Random Ships" in the menu "Game"

To move the ships you must only drag them with the mouse. To rotate a ship you must click on it with the Option (Alt) key down.


This picture shows the window of the game after the selection of the menu item "Done" in the menu "Game"


This picture shows the window of the game during a turn.

The menus of the game

The menus of the game Battle Sea 4.0.0 are:


Copyright © 2001 Matteo Varisco. All rights reserved.