Hangman game

General games-related topics
Post Reply
User avatar
stefano
Posts: 542
Joined: Tue Dec 11, 2012 9:24 am
Contact:

Hangman game

Post 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
stevenmcdonald
Posts: 17
Joined: Tue May 30, 2017 1:26 am

Re: Hangman game

Post 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.
User avatar
mrtinb
Posts: 1905
Joined: Fri Nov 06, 2015 5:44 pm
Location: Denmark
Contact:

Re: Hangman game

Post 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
Martin
https://zx.rtin.be
ZX81, Lambda 8300, Commodore 64, Mac G4 Cube
stevenmcdonald
Posts: 17
Joined: Tue May 30, 2017 1:26 am

Re: Hangman game

Post 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
dadecoza
Posts: 5
Joined: Mon Sep 06, 2021 10:08 am

Re: Hangman game

Post 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! :)
User avatar
stefano
Posts: 542
Joined: Tue Dec 11, 2012 9:24 am
Contact:

Re: Hangman game

Post by stefano »

thankyou!
Probably I should have kept the Sinclair font, I just didn't think at it
User avatar
stefano
Posts: 542
Joined: Tue Dec 11, 2012 9:24 am
Contact:

Re: Hangman game

Post 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
User avatar
siggi
Posts: 988
Joined: Thu May 08, 2008 9:30 am
Location: Wetterau, Germany
Contact:

Re: Hangman game

Post 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
My ZX81 web-server: online since 2007, running since dec. 2020 using ZeddyNet hardware
http://zx81.ddns.net/ZxTeaM
User avatar
stefano
Posts: 542
Joined: Tue Dec 11, 2012 9:24 am
Contact:

Re: Hangman game

Post 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.
User avatar
stefano
Posts: 542
Joined: Tue Dec 11, 2012 9:24 am
Contact:

Re: Hangman game

Post 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 108 times
hangman_wrx2.p
(9.14 KiB) Downloaded 104 times
hangman_g007b.P
(8.97 KiB) Downloaded 105 times
Post Reply