3 new BBC BASIC ultra short 10Liners for Elk/Beeb
3 new BBC BASIC ultra short 10Liners for Elk/Beeb
Competition rules: max 10 lines of BASIC, max 72 characters on each line, abbreviations are allowed.
"Get rich, or die trying" https://0xc0de.itch.io/get-rich-or-die-trying
"Money Grabber" https://0xc0de.itch.io/money-grabber
"ASCII Invaders" https://0xc0de.itch.io/ascii-invaders
"Get rich, or die trying" https://0xc0de.itch.io/get-rich-or-die-trying
"Money Grabber" https://0xc0de.itch.io/money-grabber
"ASCII Invaders" https://0xc0de.itch.io/ascii-invaders
0xC0DE
"I program my home computer / Beam myself into the future"
Follow me on Twitter
Visit my YouTube channel featuring my games and demos for Acorn Electron and BBC Micro
"I program my home computer / Beam myself into the future"
Follow me on Twitter
Visit my YouTube channel featuring my games and demos for Acorn Electron and BBC Micro
- BeebMaster
- Posts: 7434
- Joined: Sun Aug 02, 2009 5:59 pm
- Location: Lost in the BeebVault!
- Contact:
Re: 3 new BBC BASIC ultra short 10Liners for Elk/Beeb
I've always been interested in these one-liner (or similar) game challenges. Has there ever been something similar for 6502 machine code, say write a game which assembles in under 256 bytes for instance? Maybe that's not much of a challenge given the very small amount of RAM the earliest 6502 boards would have had, perhaps 128 bytes? 64?
Re: 3 new BBC BASIC ultra short 10Liners for Elk/Beeb
Me too.
I love to see these tiny BASIC games.
I think 64 bytes sounds like an impossible challenge for a game!
Maybe 128 is impossible too?
*Note: I am useless at assembler...
Lee.
I love to see these tiny BASIC games.
I think 64 bytes sounds like an impossible challenge for a game!
Maybe 128 is impossible too?
*Note: I am useless at assembler...
Lee.
- Lardo Boffin
- Posts: 2979
- Joined: Thu Aug 06, 2015 7:47 am
- Contact:
Re: 3 new BBC BASIC ultra short 10Liners for Elk/Beeb
Best I ever managed was around 600 bytes of Z80 on a ZX81 for a ‘driving game’.
Adventure Language on GitHub
Atom, issue 5, YARRB + video noise killer
Elk
A number of econetted (is that a word?) Beebs
BBC Master, Datacentre + HDD, pi co-proc, econet, NULA
Atom, issue 5, YARRB + video noise killer
Elk
A number of econetted (is that a word?) Beebs
BBC Master, Datacentre + HDD, pi co-proc, econet, NULA
Re: 3 new BBC BASIC ultra short 10Liners for Elk/Beeb
I don't know of any specific machine code challenge but I've been toying with the idea of starting one (for fun). 256 bytes is not much. Maybe have different categories? 256, 512, 1024 bytes.
0xC0DE
"I program my home computer / Beam myself into the future"
Follow me on Twitter
Visit my YouTube channel featuring my games and demos for Acorn Electron and BBC Micro
"I program my home computer / Beam myself into the future"
Follow me on Twitter
Visit my YouTube channel featuring my games and demos for Acorn Electron and BBC Micro
Re: 3 new BBC BASIC ultra short 10Liners for Elk/Beeb
Nice work, 0xC0DE! Is it okay that I've uploaded your games to bbcmicro.co.uk?
Btw, is there a generic term for an entry in this kind of game jam where you're programming under a ten-line contraint? Something like "constraint-based game program"..?
Btw, is there a generic term for an entry in this kind of game jam where you're programming under a ten-line contraint? Something like "constraint-based game program"..?
Last edited by lurkio on Sun Jun 27, 2021 7:04 pm, edited 1 time in total.
- Lardo Boffin
- Posts: 2979
- Joined: Thu Aug 06, 2015 7:47 am
- Contact:
Re: 3 new BBC BASIC ultra short 10Liners for Elk/Beeb
Code golf?
Adventure Language on GitHub
Atom, issue 5, YARRB + video noise killer
Elk
A number of econetted (is that a word?) Beebs
BBC Master, Datacentre + HDD, pi co-proc, econet, NULA
Atom, issue 5, YARRB + video noise killer
Elk
A number of econetted (is that a word?) Beebs
BBC Master, Datacentre + HDD, pi co-proc, econet, NULA
Re: 3 new BBC BASIC ultra short 10Liners for Elk/Beeb
Thanks lurkio, no problem if you put it on bbcmicro.co.uk.
I've heard the terms "code golf" or "10Liner", or "sizecoding" perhaps.
I've heard the terms "code golf" or "10Liner", or "sizecoding" perhaps.
0xC0DE
"I program my home computer / Beam myself into the future"
Follow me on Twitter
Visit my YouTube channel featuring my games and demos for Acorn Electron and BBC Micro
"I program my home computer / Beam myself into the future"
Follow me on Twitter
Visit my YouTube channel featuring my games and demos for Acorn Electron and BBC Micro
-
- Posts: 330
- Joined: Thu Aug 10, 2017 9:07 pm
- Contact:
Re: 3 new BBC BASIC ultra short 10Liners for Elk/Beeb
BTW these are nice little games! Thanks for sharing.
... and Eben Upton's Copter was written for the Hackaday 1k challenge.
(2048 is about 4k, which is a shame. But it's not at all compressed.)
There's a Conway's Life in 256 bytes for the C64...
... and Eben Upton's Copter was written for the Hackaday 1k challenge.
(2048 is about 4k, which is a shame. But it's not at all compressed.)
Re: 3 new BBC BASIC ultra short 10Liners for Elk/Beeb
@BigEd thanks!
@lurkio looking good
@lurkio looking good
0xC0DE
"I program my home computer / Beam myself into the future"
Follow me on Twitter
Visit my YouTube channel featuring my games and demos for Acorn Electron and BBC Micro
"I program my home computer / Beam myself into the future"
Follow me on Twitter
Visit my YouTube channel featuring my games and demos for Acorn Electron and BBC Micro
Re: 3 new BBC BASIC ultra short 10Liners for Elk/Beeb
and Linus Åkesson's stunning “A Mind Is Born” demo, all in 256 bytes on the C64.
or even Adrian Cable's PC Emulator in 8086 nibbles (4043 bytes) of C.
N. Silver's old one-liners from Beebug were pretty neat. The 230 byte "Asterisk Tracker" is something I've played many times:
Code: Select all
1L=0:REP.L=L+3:MO.4:DR.1279,0:DR.1279,452:MOVE1279,572:DR.1279,1023:DR.0,1023:F.I=1TOL:V.31,RND(32)+5,RND(31),42,30:N.:P.(L-3)/3:X=0:Y=512:REP.PL.69,X,Y:X=X+4:Y=Y-(INKEY-74+.5)*8:U.PO.X,Y)=1ORX=1280:U.X<1280:V.7:REP.U.INKEY-99:RUN