Recent

Author Topic: robot chase (inc)  (Read 446 times)

speter

  • Hero Member
  • *****
  • Posts: 527
robot chase (inc)
« on: April 05, 2026, 07:47:36 am »
Yet another simple game from Tim Hartnell's 1983 "Giant Book of Spectrum Games". The original game (all 55 lines of basic code) was written by Gwyn Dewey.

The original had an empty board, except for the player and the 2 robots, so I've added the option to have some obstacles :o. Just to keep it interesting  :P I've also added the option to have up to 9 robots.

I've also changed the movement: in the original game the player moved 3 positions each move; while the robots moved 2 or 3 positions. I've changed it so the player only moves 1 position per move; while the robots can move 2 positions (if they move diagonally).

I have not included a "win" condition (yet). BUT, I do include an extra "Congratulations", if the player manages to get a score of 100+.

Enjoy,
S.

PS: For those who are interested in such things, Gemnin AI did the initial translation from BASIC into a (text mode) free pascal program.
PPS: Also, Co-pilot (the windows AI) created the original versions of the images used. :)
I climbed mighty mountains, and saw that they were actually tiny foothills. :)

speter

  • Hero Member
  • *****
  • Posts: 527
Re: robot chase (inc)
« Reply #1 on: April 06, 2026, 04:19:49 am »
I am adding a new version of the game.

This version has a "win" scenario!
If 2 robots collide then they explode and create a scrap heap! :)
Also, if a robot runs into a scrap heap, they add to the scrap.
If all the robots die, the player wins! :P

I will also mention that as the player moves the "num.robots" spinedit.value changes.
I couldn't work out how to stop this, so at the end of a game the value is reset to 2.

Enjoy.
S.
PS: I am not including a screen shot, since that pushes the post over 500k.
      So, you'll have to get 2 robots to collide, to see the scrap heap. :)
I climbed mighty mountains, and saw that they were actually tiny foothills. :)

 

TinyPortal © 2005-2018