Recent

Author Topic: tank battle (pvp)  (Read 568 times)

speter

  • Hero Member
  • *****
  • Posts: 527
tank battle (pvp)
« on: April 04, 2026, 04:29:12 am »
This game is based on one of the same name in Tim Hartnell's 1983 "Giant Book of Spectrum Games". The original basci version was written by Raymond Blake.

This game is unusual because it is player v player (not player v computer).

To move use:
  Tank 1: W A S D   and (Z=shoot)
  Tank 2: I J K L     and (M=shoot)

The first player to score a hit, wins. If two shells collide they will explode. :)

NOTE: there is a checkbox to include "random obstacles" this replaces the fixed walls in the middle with random 'blocks' - check this _before_ Starting...

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

C0m3b4ck

  • New Member
  • *
  • Posts: 30
  • Open-source programs for Windows 95-11 and Linux
    • Github
Re: tank battle (pvp)
« Reply #1 on: April 04, 2026, 07:29:46 am »
Nice! Thanks for the Pascal implementation!
Github profile - https://github.com/C0m3b4ck | YouTube Channel - https://youtube.com/@PrinterFixer
Current Pascal project - https://github.com/C0m3b4ck/BookwormPascal - library book management app

Still making sure I support Win95 for its users out there...

speter

  • Hero Member
  • *****
  • Posts: 527
Re: tank battle (pvp)
« Reply #2 on: April 05, 2026, 01:16:30 am »
Nice! Thanks for the Pascal implementation!
No worries.
S.
I climbed mighty mountains, and saw that they were actually tiny foothills. :)

speter

  • Hero Member
  • *****
  • Posts: 527
Re: tank battle (pvp)
« Reply #3 on: April 05, 2026, 01:22:29 am »
Oops! I just noticed that the version I posted yesterday had a 5-second "life" for explosions. I had made it like that so I could get a screen-capture with an explosion. :)

The version attached here clears explosions (when shells collide) about 0.5 seconds.

cheers
S.
PS: If a shell hits the explosion, it explodes...
I climbed mighty mountains, and saw that they were actually tiny foothills. :)

 

TinyPortal © 2005-2018