Hampsons Plane

Return to Search
Hampsons Plane screenshot for Commodore PET

Hampsons Plane

Publisher: (Unknown)
Genre: Logical Game
Programmer: Mark Beckett
Year: 2024
Language: English
Downloads: 8
Website: Github

Download
Download
We do not own the rights to any of the software

Commodore PET keyboard layout

Game Notes

May include inaccurate AI generated content
Hampson's Plane Tile-flipping Puzzle Game
This is a port of a tile-flipping game, called Hampson's Plane, to the Commodore PET. It is written for the BASIC 4.0 ROM and runs in 40-column mode.

The idea is to clear a randomly generated grid of tiles by 'flipping' squares. However, it is not quite that simple as when you flip a square, you also flip its eight neighbours. A timer tracks how quickly you can solve the puzzle, plus there are several difficulty levels to add to the challenge.

The original version of Hampson's Plane was written by Mike Hampson in 1981 and published in SYNC magazine as a type-in BASIC program for the ZX80. Mike describes the game as an attempt to create a Rubik's Cube-like puzzle for the 2D screen of a microcomputer. Several further versions were produced in subsequent years, including a FORTH version, written by Mike to demonstrate the capabilities of his Spectrum FORTH compiler (published by CP Software in 1993).

It is the FORTH version that I encountered first and I ported that to work on the Minstrel 4th/ Minstrel 4D/ Jupiter Ace (see my GitHub page). I subsequently ported it to Z80 machine code to help me learn how to write flicker-free games for the ZX80 (again, see my GitHub page). Although, at that time, I was not aware of the game's origins on the ZX80. For the ZX80 port, I added in a clock to give the game a sense of urgency.

Finally, I have ported the game to the Commodore PET, as at attempt to learn how to program the computer and the 6502 processor.