Minimalistic text games

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

Re: Minimalistic text games

Post by stefano » Wed Nov 20, 2013 2:01 pm

Pokemon, did they work on the real HW eventually ?

User avatar
PokeMon
Posts: 2203
Joined: Sat Sep 17, 2011 6:48 pm

Re: Minimalistic text games

Post by PokeMon » Thu Nov 21, 2013 12:35 am

Not yet, didn't had time that weekend but hope on this weekend. ;)

User avatar
PokeMon
Posts: 2203
Joined: Sat Sep 17, 2011 6:48 pm

Re: Minimalistic text games

Post by PokeMon » Fri Nov 22, 2013 12:02 am

Some of the games are working on real hardware, some not.

mastermind.o => ok
joust.o => ok
luna.o => ok
hilo.o => ok


blackjack.o => no
(start after run, bet okay, after choose of cards the display is corrupted after a few seconds, seems to be a wrong value in I register / wrong pointer to char table)

tictactoe.o => no
(start after run but program wiped out, come back with K cursor immediately)

worldpuzzle.o => no
(crashes after start, no display at all, black screen)

riskdice.o => no
(start after run but program wiped out, come back with K cursor immediately)
(crashes even in emulator, first 2 questions answered, after black screen forever)

fast-furious.o => no
(crashes after start, no display at all, black screen)

User avatar
stefano
Posts: 340
Joined: Tue Dec 11, 2012 9:24 am
Contact:

Re: Minimalistic text games

Post by stefano » Fri Nov 22, 2013 6:38 pm

Thank you for the report !
I'll do my best to try understanding what's bad..

User avatar
stefano
Posts: 340
Joined: Tue Dec 11, 2012 9:24 am
Contact:

Re: Minimalistic text games

Post by stefano » Mon Nov 25, 2013 8:26 am

I revised the source adaptions I made for the ZX80 but at the moment I couldn't find much.
It could have to do with some critical register I'm not protecting enough.. what I don't understand is, in example, why tictactoe is crashing while joust doesn't they are both using the same console functions, and why it is not crashing the emulated Z80. Joust is bigger and tic doesn't use advanced mathematics or things which might corrupt special registers.
Here's a slightly modified version, just to see if the problem persists.
Attachments
tic2.o
ZX80 Tic Tac Toe, new attempt.
(3.75 KiB) Downloaded 47 times

User avatar
stefano
Posts: 340
Joined: Tue Dec 11, 2012 9:24 am
Contact:

Re: Minimalistic text games

Post by stefano » Tue Jan 07, 2014 4:27 pm

More crap.. really ! It is a direct compilation of "Monty Python's Bridge of Death":
http://csscgc2010.zxlife.net/Games.aspx#L20

Don't say you weren't warned :D
Attachments
bridge_wrx.p
"Monty Python's Bridge of Death", ZX81 WRX
(8.84 KiB) Downloaded 35 times
bridge.o
"Monty Python's Bridge of Death", ZX80
(5.98 KiB) Downloaded 55 times
bridge.p
"Monty Python's Bridge of Death", ZX81
(6.93 KiB) Downloaded 38 times

Shaun_B
Posts: 393
Joined: Wed Apr 22, 2009 10:22 am

Re: Tic Tac Toe (AKA Tris)

Post by Shaun_B » Wed Mar 29, 2017 2:09 pm

stefano wrote:
Wed Oct 30, 2013 8:36 am
This one couldn't miss.. :D
It is the only game in this list I wrote myself.
Shame on me, presented it in the minigame compo in 2003 and classified second to last !
Well there are many good reasons for this .. not telling, but don't expect a killer app ! :P
I've developed a version of Tic-Tac-Toe for the ZX80 which is now finished. It works on the unexpanded machine so there is no AI - it does however check for a winner - this was the most memory costly bit of the whole symbolic listing so you're welcome.

Any tips to save valuable bytes are welcome as it'll help with my next game.

Regards,

Shaun.
Attachments
tic-tac-toe-v2.o
Finished (1K) version
(747 Bytes) Downloaded 39 times
tic-tac-toe.o
Unfinished version of Tic-Tac-Toe
(473 Bytes) Downloaded 23 times

User avatar
stefano
Posts: 340
Joined: Tue Dec 11, 2012 9:24 am
Contact:

Re: Minimalistic text games

Post by stefano » Thu Mar 30, 2017 3:14 pm

It is nice already (and cute).
My cent is on the compare expressions, you may substitute: IF J=0 and IF A(I)=0 with IF NOT J...
I also wonder if the "TO" function on a string vector could help in place of a DIMensioned variable.

Shaun_B
Posts: 393
Joined: Wed Apr 22, 2009 10:22 am

Re: Minimalistic text games

Post by Shaun_B » Thu Mar 30, 2017 5:37 pm

stefano wrote:
Thu Mar 30, 2017 3:14 pm
It is nice already (and cute).
My cent is on the compare expressions, you may substitute: IF J=0 and IF A(I)=0 with IF NOT J...
I also wonder if the "TO" function on a string vector could help in place of a DIMensioned variable.
This version is for 4K ROM, so the string manipulation as per the ZX81 doesn't work.

Booleans on ZX80 (4K ROM) BASIC are returned as -1 for true and 0 for false.

Thanks,

Shaun.

Shaun_B
Posts: 393
Joined: Wed Apr 22, 2009 10:22 am

Re: Minimalistic text games

Post by Shaun_B » Sun Apr 02, 2017 8:56 pm

So here's another 4K ROM ZX80 release for you. It's a cost-reduced version of a fruit machine simulator.

The player starts with £5.00; Type R to roll the reels. Any other key to leave the fruit machine.

Here is the win table:

£££ = £10
$$$ = £8
XXX = £5
OOO = £2
--- = £nil

££? = £4
$$? = £3
XX? = £2
OO? = £1
--? = £nil

As I ran out of memory to add in any mini games, not that one can achieve much with the 4K ROM and BASIC anyway :-)

Enjoy,

Shaun.

PS, This game will be part of a collection released through Monument Microgames.
Attachments
zx80-fruits-2.o
1K cost-reduced fruit machine type simulator
(787 Bytes) Downloaded 29 times

Post Reply