Allegro.cc
Projects
Action252
Adventure22
Arcade216
Board Games30
Demos24
Emulators10
Other68
Puzzle139
Role Playing40
Sports25
Strategy58
Utilities46
Resource Directory
Code Gallery3
Compilers12
Help & Documents13
Libraries63
Media2
Tools8
Depot Games: Space Battle

Current Version: 1.0

Project Status: Completed

Highest Popularity: #5 during December 2006

Links: Web Site

Category: Board Games

Developers: Gia Nguyen

Number of Players: 1

Ports: DOS, Windows

Source Code: Available

Author's Description: Space Battle - an implementation of Battleship

This is a version of the popular Battleship board game. I originally wrote this in Turbo Pascal while playing with the SIMH Altair 8800 emulator for the PC. That text-only version ran under Z-80 CP/M emulation mode on a Pentium Windows XP machine.

Moving on, I recently ported the Pascal program over to C++ using Dev-C and the Allegro game library, and added graphics and sounds.

Feature wise, the game is similar to the Electronic Battleship Advanced Mission toy by Milton Bradley. My implementation is slightly different from the original game. Space Battle has 5 different skill levels, 3 levels of AI, and includes extras such as recon aircraft and advanced salvo fire.

This is my "beginner" Allegro project. I'm looking forward to possibly get a network version going soon.

If you download the source code and executable, see my readme.txt file for game instructions. If you plan to compile and run the source code, you will need the data and config files (they are in the executable ZIP file).

I welcome feedbacks from all. Cheers.

Gia Nguyen

Credits:

Ari Feldman, for his SpriteLIB GPL package. I used his graphics in my project. You can get more information at his web site:
http://www.flyingyogi.com/fun/spritelib.html

All other graphics and sounds were obtained freely from the Internet.

Downloads

Name Comments Size Date
spacebattle_exe.zip Space Battle EXE (Windows, no Allegro DLL) 4,118,724 02/23/2006 2:57 PM
spacebattle_source.zip Space Battle Source Code (C++ program/headers) 19,261 02/23/2006 2:58 PM
Screenshots
Space Battle 1
Space Battle 1
Public Opinion
Overall Rating: 6.0
  • 6My major complaint about this game is that the window is way too tall for my monitor, and so part of the screen doesn't show up. I can edit the allegro.cfg file to change the window size, but then part of the screen isn't shown. If you had included a full screen option, this wouldn't matter.
The Developer
Gia Nguyen
Gia Nguyen (View Profile)