Breaking the Ice - Another 1-line BASIC game

People are still making stuff for the Sinclair related machines. Tell us about new games and other software that runs on the Spectrum, ZX80/ZX81, Pentagon and Next.
Post Reply
User avatar
IvanBasic
Drutt
Posts: 48
Joined: Mon May 13, 2019 1:24 pm

Breaking the Ice - Another 1-line BASIC game

Post by IvanBasic »

Glad to share this little code, my first try to this kind of challenges (thanks, [mention]patters[/mention] )

https://drive.google.com/file/d/14izieb ... p=drivesdk

Game code in just 1 line, wich fits in one single 22 lines screen.

The aim is to save 10 penguins on an ice island, collecting them.

The ice gets broken close to you, so don't step over broken ice.

Controls are E-D up-down, and F-G left-right (like QAOP but adapted due to code restrictions)

The scarce 3 lives are easily changed in the DATA, it is the "c" variable, if anyone needs a bit help.

Hope you like it.

Image
User avatar
RWAC
Manic Miner
Posts: 698
Joined: Sun Aug 18, 2019 9:59 pm

Re: Breaking the Ice - Another 1-line BASIC game

Post by RWAC »

These 1 line programs blow my mind!
I don't know how you guys do it. It's some kind of witchcraft!
User avatar
IvanBasic
Drutt
Posts: 48
Joined: Mon May 13, 2019 1:24 pm

Re: Breaking the Ice - Another 1-line BASIC game

Post by IvanBasic »

Fooling around with the same idea, now penguins move, and they also appear around broken ice:

https://drive.google.com/file/d/1SwSYwv ... sp=sharing

The aim is to collect as many penguins as you can, before loosing the 3 lives.

Due to code restrictions, some things changed:

-The main character only changes its color.
-Only one creek will appear with every step, instead of two creeks.
-Typing RUN to restart when finishing is needed, without ending message.
User avatar
Ersh
Manic Miner
Posts: 480
Joined: Mon Nov 13, 2017 1:06 pm

Re: Breaking the Ice - Another 1-line BASIC game

Post by Ersh »

Just downloaded the latest version, I'm just amazed at how playable it is. Custom (and cute) graphics, sound and addictive gameplay in 1 line of basic. Might be my favourite one-liner! My current record is 18 penguins. :)

Great job!
User avatar
IvanBasic
Drutt
Posts: 48
Joined: Mon May 13, 2019 1:24 pm

Re: Breaking the Ice - Another 1-line BASIC game

Post by IvanBasic »

Ersh wrote: Mon Sep 02, 2019 1:52 pm Just downloaded the latest version, I'm just amazed at how playable it is. Custom (and cute) graphics, sound and addictive gameplay in 1 line of basic. Might be my favourite one-liner! My current record is 18 penguins. :)

Great job!
Proud to receive such evaluation from a Master like you!
User avatar
Ersh
Manic Miner
Posts: 480
Joined: Mon Nov 13, 2017 1:06 pm

Re: Breaking the Ice - Another 1-line BASIC game

Post by Ersh »

IvanBasic wrote: Tue Sep 03, 2019 1:48 am Proud to receive such evaluation from a Master like you!
I'm not a master of anything, but I'll take the compliment. :lol:
Playable one-liners are an incredibly impressive achievement, the stuff is bordering on witchcraft to me. ;)

Got a new record: 26 penguins!

Image
User avatar
IvanBasic
Drutt
Posts: 48
Joined: Mon May 13, 2019 1:24 pm

Re: Breaking the Ice - Another 1-line BASIC game

Post by IvanBasic »

Ersh wrote: Tue Sep 03, 2019 4:43 pm
Got a new record: 26 penguins!

Image
I had no patience for such long plays!!!
User avatar
R-Tape
Site Admin
Posts: 6353
Joined: Thu Nov 09, 2017 11:46 am

Re: Breaking the Ice - Another 1-line BASIC game

Post by R-Tape »

IvanBasic wrote: Mon Aug 26, 2019 2:09 am Fooling around with the same idea, now penguins move, and they also appear around broken ice:
BTW Ivan, I assume this is still in development. When you think you're done, or done for the moment, could you let me know and I'll add it to ZXDB.
User avatar
IvanBasic
Drutt
Posts: 48
Joined: Mon May 13, 2019 1:24 pm

Re: Breaking the Ice - Another 1-line BASIC game

Post by IvanBasic »

R-Tape wrote: Wed Sep 04, 2019 9:55 pm BTW Ivan, I assume this is still in development. When you think you're done, or done for the moment, could you let me know and I'll add it to ZXDB.
It is difficult to stop squeezing the code over and over, but I think this version will be the last.

So, feel free to add it as it is now. Many thanks for considering it.
Post Reply