Hanten Game (Jitsuichi Hara)

Title – 反転ゲーム (Hanten Game)
System – Sinclair ZX81
Author – 原 実一 (Jitsuichi Hara)
Publication – Micom BASIC (マイコンBASIC) October 1982
Page Scans – 1 2
Preserved By – TWE
Recommended Emulator – EightyOne

Download ROM

Loading the Game –

Files:
– hanten.tzx: Cassette tape image containing the program.
– hanten_en.tzx: Cassette tape image containing the translated program.

NOTE: EightyOne emulates a wide range of Sinclair computers, so it must be configured to emulate a ZX-81.
– Options -> Hardware -> ZX81 (on the Sinclair tab).

Load the tape file, type J, Shift-P, Shift-P (the resulting output should be ‘LOAD “”‘), press Enter then play the tape;
NOTE: EightyOne does these steps automatically upon loading the tape image.

 

After the program finishes loading, press R (for ‘RUN’) then press Enter to start the game.

 

Game Instructions –

Enter the number of digits to reverse their order, starting at the first one;
Reorder the numbers in the correct order in the smallest number of turns.

 

Article Translation –

ZX-81
Flipping Game
Jitsuichi Hara

Preface
Well, ever since I saw it on the extra June issue of BeMaga, I was thinking of entering the competition, but I had to postpone that due to tests and other stuff.
Making a game with 1Kbytes really is a fight against the memory limit. Then, I overheard the Editor’s monologue in August’s issue, so I used a stereo amp and deck! I think he’d be set if he used one too (with the LOUDNESS options for the amp’s sound and all…).

Game Description
Well, you have the nubmers from 1 to 9 ordered at random, and you have to order them in the order 1, 2, 3… 9, while trying to do so in the lowest number of moves. To see how it’s done, look at this chart:

{Chart} Key functions
4 6 8 9 7 1 5 3 2 Press [4]
↓  ↓
9 8 6 4 7 1 5 3 2 Press [9]
↓ ↓
2 3 5 1 7 4 6 8 9

So, uhh, my… best score is… 5 moves.

{Picture 1} Game start. By pressing [3], the tree at the left position flips positions
{Picture 2} Did it in 9 moves!!

CHECKER FLAG
Editor: Seeing all the numbers lined up makes me remember my school days.
Kage: Huh, you used to go to school?
Editor: Wait a… what did you think, that I got born into this job immediately?
Dr. D: What’s going on here? I’ll tell the chief again.
Kage: I was just working dilligently…
Editor: Right, Dr.? What’s that GOTO 999 in line 350 supposed to mean?
Kage: Don’t you know that already? I’m starting to think you didn’t go to school after all. It means it goes to 999 to get a machine body…
Dr. D: What are you blabbering about!
Essentially, GOTO 999 obviously jumps to line 999, but this program doesn’t have a line 999. Unless an error occurs, it has the same meaning as END.
Editor: Do I trust that…? (What do you guys think?)

Leave a Reply

Your email address will not be published. Required fields are marked *