Page 1 of 1

Hangman game

Posted: Wed Jun 22, 2022 2:31 pm
by stefano
This is a tribute to.. Vickers probably.
The game is a direct C conversion of the "Hangman" game taken from the ZX Spectrum BASIC manual.
It requires 16K and a graphics expansion, G007, WRX and ARX modes are supported.

It is meant for 2 players, a first one will type in a secret word, the second one will have to guess it by typing the single letters.
It is advisable not to let the second player looking at the screen while entering the secret word ! :lol:
hangman_zx81.png
Post scriptum: the graphics modes could not work well on EightyOne, they heavily depend on the version you are using.
As an example, in the (current) recent versions, the ARX mode "rolls" the character rows out of the expected intarlaced sequence.
Please report problems only if you tested the game on a real ZX81.

hangman_wrx.p
(7.76 KiB) Downloaded 113 times
hangman-arx.p
(7.73 KiB) Downloaded 102 times
hangman-g007.p
(7.57 KiB) Downloaded 104 times

Re: Hangman game

Posted: Thu Jun 23, 2022 1:13 am
by stevenmcdonald
Hi there!

A very interesting post - will check it out shortly when I get real machine access…

ARX mode - is anyone able to share technical details on this mode - I haven’t heard of it before until tonight..

Is it pseudo high res or real? A trick real or real real hires like WRX is real?

Anybody have a driver disassembly and is it reliable on a real machine?

Sorry a lot of questions but details on it seem sparse .. Very interesting though..

Regards

Steve.

Re: Hangman game

Posted: Thu Jun 23, 2022 2:43 am
by mrtinb
stevenmcdonald wrote: Thu Jun 23, 2022 1:13 am ARX mode - is anyone able to share technical details on this mode - I haven’t heard of it before until tonight..

Is it pseudo high res or real? A trick real or real real hires like WRX is real?
It’s an internal modification, that enables UDG (user defined graphic characters) from RAM. And then 16 different char set are possible, and the driver uses 12 char sets on the screen at once, so the first 2 lines uses 1st char set, next two lines uses 2nd char set etc. This way the whole screen is filled with 12 different char sets. Now you change the char set in RAM for full resolution hires.

https://web.archive.org/web/20150216222 ... x81+2.html

Re: Hangman game

Posted: Thu Jun 23, 2022 5:43 pm
by stevenmcdonald
Hi thanks for the info there . Very novel.
It just needs static ram in the 8-16k region so that it can be access during refresh time .
A unique way of doing it for sure.

Cheers

Steve

Re: Hangman game

Posted: Sat Jun 25, 2022 12:02 pm
by dadecoza
hangman.jpg
I typed this game many times on the ZX Spectrum as a kid and seeing it again brought many feelings of nostalgia!

Here the WRX version is running on my 16k internally upgraded ZX81.

Great job! :)

Re: Hangman game

Posted: Sat Jun 25, 2022 11:23 pm
by stefano
thankyou!
Probably I should have kept the Sinclair font, I just didn't think at it

Re: Hangman game

Posted: Mon Jun 27, 2022 12:21 pm
by stefano
Memotech HRG version ;)

Be aware that EightyOne is a bit picky regarding the Memotech HRG mode, I recommend to try different versions of the emulator and to disable the "Advanced Effects" in the "TV Emulation" section (this same flag usually needs to be enabled when the TS2068 High Resolution mode is needed).

hangman_memotech.p
(7.6 KiB) Downloaded 92 times

Re: Hangman game

Posted: Tue Jun 28, 2022 9:33 pm
by siggi
Hi Stefano
something is strange: when I enter the first letter of the secret word to be found, it is shown on screen (upper line), but is overwritten by the second letter entered later. All following entered letters are shown correctly on screen.
I used a real Zeddy with BigBang-rom and EOV1.23 (same result) and the WRX-version.

Here a picture: secret word is "123456" and I entered then "1", "2" ..., but only "2345.." is shown in the first line:
DSC03053_640x427.JPG
Bug or feature?
Siggi

Re: Hangman game

Posted: Wed Jun 29, 2022 6:23 pm
by stefano
Bug. I noticed it already but thank you for pointing it out!
The Memotech version is fixed already, it was a consequence of the VT-ANSI terminal coordinates are numbered (1,1) for the top-left corner rather than (0,0).
I'm happy you like this little exercise, I'll surely post a fix.

Re: Hangman game

Posted: Wed Jun 29, 2022 7:58 pm
by stefano
Ok, let me know if it is overall better.
I can adjust furtherly, e.g. by putting a sinclair style font, etc..

hangman_arx2.p
(9.1 KiB) Downloaded 109 times
hangman_wrx2.p
(9.14 KiB) Downloaded 105 times
hangman_g007b.P
(8.97 KiB) Downloaded 105 times