Recent

Author Topic: dodgems (inc)  (Read 716 times)

speter

  • Hero Member
  • *****
  • Posts: 527
dodgems (inc)
« on: March 26, 2026, 12:31:52 am »
I now have another of Tim Hartnell's books; this game is from "Giant Book of Spectrum Games" (1983). For the uninitiated, the "Spectrum" was an early (non-IBM) PC. It had a strange implementation of BASIC, which included the ability to create functions. The game in the book is credited to P.Toland.

My version diverges from the original in a number of ways:
  • my version draws the board (original was text based);
  • my version uses the 'normal' arrow keys for movement (the original used '0' and '1' to move);
  • in the original the human moved clockwise, while the computer moved anti-clockwise; my version allows the human to move where they want (and the computer heads towards the human);
My version of the game is (perhaps) less challenging than the original; I found it quite easy to "eat" all the "+" while staying clear of the computer player. Despite (or maybe because) of this; it is still entertaining.

I'd suggest making the app's form as large as possible - so you can see the dodgem cars better. :) :o

Enjoy
S

PS: If the movement doesn't work as you'd expect, have a look at FormKeyUp() (line 263) and maybe tweak the ASCII values.
I climbed mighty mountains, and saw that they were actually tiny foothills. :)

Ñuño_Martínez

  • Hero Member
  • *****
  • Posts: 1226
    • Burdjia
Re: dodgems (inc)
« Reply #1 on: April 04, 2026, 02:36:57 pm »
Wonderful!

Just to add more information, the original is based in a very early arcade game.
Are you interested in game programming? Join the Pascal Game Development community!
Also visit the Game Development Portal

speter

  • Hero Member
  • *****
  • Posts: 527
Re: dodgems (inc)
« Reply #2 on: April 05, 2026, 01:15:45 am »
Wonderful!

Just to add more information, the original is based in a very early arcade game.
Thanks.

cheers
S.
I climbed mighty mountains, and saw that they were actually tiny foothills. :)

 

TinyPortal © 2005-2018