BATTLE SHIPS for a trip down memory lane

Use this forum to submit new files for the download section of the archive. I will check each submission and upload it to the archive on a regular basis.
Post Reply
Cloete
Posts: 35
Joined: Mon Jan 16, 2012 6:49 am
Location: Pretoria, Gauteng Province, South Africa

BATTLE SHIPS for a trip down memory lane

Post by Cloete »

Here's my BATTLE SHIPS program for a trip down memory lane.
Use CLOAD
Due to my Dragon 32's limited memory, I could only fit the following into the code:
Full graphics & sound;
1 Player vs. the Dragon;
Move cursor with arrows;
Shoot with the space bar;
Enemy ships appear after being obliterated;
Your ships disappear after being slaughtered;
The computer randomly places his 4 ships (lengths vary from 5 units to 2 units);
Your ships are also placed randomly (lack of memory);
You get 1 shot - if you score a hit - you'll get another shot (you'll need it);
The computer gets 3 shots at a time; it will never repeat the same shot;
The 12 x 12 grid means the computer should destroy you in max 40 turns;
At the end of the game, press the space bar to start the game again.
Enjoy! Feedback welcome...
Regards, Cloete
Attachments
BATTLE SHIPS 8Bit - Compressed.zip
Hope the download is a success.
(1.3 MiB) Downloaded 227 times
Last edited by Cloete on Mon Feb 27, 2012 3:11 pm, edited 1 time in total.
Rink
Posts: 236
Joined: Mon Sep 05, 2011 7:01 pm

Re: BATTLE SHIPS for a trip down memory lane

Post by Rink »

I'm getting an ?FM error when trying to load this with XRoar. Haven't had a chance to try it on an actual Dragon 32 yet though.

CLOADM ""
->
F BATTLE S
?FM ERROR
OK
zephyr
Posts: 1474
Joined: Mon Jul 21, 2008 1:18 am

Re: BATTLE SHIPS for a trip down memory lane

Post by zephyr »

Rink wrote:I'm getting an ?FM error when trying to load this with XRoar. Haven't had a chance to try it on an actual Dragon 32 yet though.

CLOADM ""
->
F BATTLE S
?FM ERROR
OK
The game is written in BASIC. Load the game with CLOAD instead of CLOADM.
Rink
Posts: 236
Joined: Mon Sep 05, 2011 7:01 pm

Re: BATTLE SHIPS for a trip down memory lane

Post by Rink »

I did try that originally.

CLOAD
->
S
?IO ERROR
OK

CLOAD "" (sometimes returns as above, othertimes)
->
F BATTLE S
?IO ERROR
OK

My system doesn't seem to like that .wav at all. Running XRoar 0.26 btw - I'll try updating and let you know what happens.
Rink
Posts: 236
Joined: Mon Sep 05, 2011 7:01 pm

Re: BATTLE SHIPS for a trip down memory lane

Post by Rink »

Ok. Works fine on Windows XRoar v0.27 but apparently not v0.26.

All the best.

Edit: Yeah, pretty cool game Cloete. That's a nice version of Battleships there.
zephyr
Posts: 1474
Joined: Mon Jul 21, 2008 1:18 am

Re: BATTLE SHIPS for a trip down memory lane

Post by zephyr »

Rink wrote:I did try that originally.

CLOAD
->
S
?IO ERROR
OK

CLOAD "" (sometimes returns as above, othertimes)
->
F BATTLE S
?IO ERROR
OK

My system doesn't seem to like that .wav at all. Running XRoar 0.26 btw - I'll try updating and let you know what happens.
I have attached a copy of the .CAS file which will work with any emulator. Also included in the archive is a Tandy CoCo version of the game.

EDIT: Attachment removed.
Last edited by zephyr on Sat Jun 09, 2012 2:40 am, edited 2 times in total.
zephyr
Posts: 1474
Joined: Mon Jul 21, 2008 1:18 am

Re: BATTLE SHIPS for a trip down memory lane

Post by zephyr »

Here's a slightly modified version of the game which has been converted to .cas file. I fixed a bug which had crept in during the code size optimization stage, and made a few minor modifications to the code. Both CoCo and Dragon compatible versions are included.
Attachments
BattleShips_v2.zip
(24.54 KiB) Downloaded 217 times
Post Reply