Page 2 of 3
Re: Minimalistic text games
Posted: Wed Nov 20, 2013 2:01 pm
by stefano
Pokemon, did they work on the real HW eventually ?
Re: Minimalistic text games
Posted: Thu Nov 21, 2013 12:35 am
by PokeMon
Not yet, didn't had time that weekend but hope on this weekend.
Re: Minimalistic text games
Posted: Fri Nov 22, 2013 12:02 am
by PokeMon
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)
Re: Minimalistic text games
Posted: Fri Nov 22, 2013 6:38 pm
by stefano
Thank you for the report !
I'll do my best to try understanding what's bad..
Re: Minimalistic text games
Posted: Mon Nov 25, 2013 8:26 am
by stefano
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.
Re: Minimalistic text games
Posted: Tue Jan 07, 2014 4:27 pm
by stefano
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
Re: Tic Tac Toe (AKA Tris)
Posted: Wed Mar 29, 2017 2:09 pm
by Shaun_B
stefano wrote: ↑Wed Oct 30, 2013 8:36 am
This one couldn't miss..
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 !
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.
Re: Minimalistic text games
Posted: Thu Mar 30, 2017 3:14 pm
by stefano
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.
Re: Minimalistic text games
Posted: Thu Mar 30, 2017 5:37 pm
by Shaun_B
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.
Re: Minimalistic text games
Posted: Sun Apr 02, 2017 8:56 pm
by Shaun_B
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.