MRC Oneliner Challenge

by snout on 24-08-2005, 22:04
Topic: MRC
Tags: Challenges
Languages:

After the Snowfall challenge, the Under water challenge, the Bounce challenge, the Bombaman level edit challenge, the MuSiXmas challenge and the Airwaves challenge, the time has come to start the next MSX Resource Center development competition.

This time, we give you 5 weeks to develop a game, demo, song or utility in only one line of MSX-BASIC. Obfuscation and including machine code is allowed. All you have to do to join the challenge is send it to us by e-mail. Please do include a short description on how the program works excactly.

A yet to be announced jury will reward the best entry with a special piece of MSX merchandize: a 3-in-1 pen with the MSX logo on it. You can send your entries to oneliner@msx.org until September 28th, 23:59 CET. Good luck!

Comments (34)

By wolf_

Ambassador_ (9765)

wolf_'s picture

24-08-2005, 22:06

"Ich bin ein MSX'er"

By snout

Ascended (15187)

snout's picture

24-08-2005, 22:26

If you're wondering what's so 3-in-1 about the pen: it contains a red ballpoint, black ballpoint and a pencil. Isn't that sweet? Smile

By Bart

Paragon (1423)

Bart's picture

24-08-2005, 22:38

PICTURES!!! Smile

By turbor

Champion (424)

turbor's picture

24-08-2005, 22:38

I suppose the onliner must be max 255 chars long?
I remember that Joost Damad (aka andete) once made a program that glued basic lines together so that you could create oneliners of serveral KB. The basic list command still stopped after the first 256 chars though.
It was published in an old MC(C)M together with a basic program that could be melted together in one gigantic one-liner. After that the redaction only allowed 'regular' one-liners Big smile

By snout

Ascended (15187)

snout's picture

24-08-2005, 22:44

Only regular oneliners are allowed in this one as well Wink

By wolf_

Ambassador_ (9765)

wolf_'s picture

24-08-2005, 23:03

something tells me NYYRIKKI will be the judge ^_^

By NYYRIKKI

Enlighted (5320)

NYYRIKKI's picture

25-08-2005, 02:50

Yes, oneliner is quite a flexible consept in MSX-BASIC. I've tested at least few KB BASIC oneliners, but with ML I think you can do pretty much as big as you want oneliners.

I think, that you should state that the listing must be loadable from ASCII file or you should fix the size to some amount of bytes.

Last time (-98) BASIC oneliner entrys can be found here:
ftp://ftp.funet.fi/pub/msx/demos/basic_compo/

If you need external judges, I'm willing to help. :-)

By SLotman

Paragon (1211)

SLotman's picture

25-08-2005, 05:48

Hehehe, this one Ricardo Bittencourt will probably win Wink
He has some fantastic onliners done by him Smile

By BiFi

Enlighted (4348)

BiFi's picture

25-08-2005, 07:43

turbor: you mean that wanwan-liner published in mc(c)m? Smile

both funny and kinda lame one that was Wink

By ro

Guardian (4104)

ro's picture

25-08-2005, 07:51

so euh, a basic one-liner like this:

10 bload "mygame.bin",r

would be allowed? LOL!

By zett

Hero (549)

zett's picture

25-08-2005, 09:05

is it posible to use other files like gfx files music files put in to it?

By snout

Ascended (15187)

snout's picture

25-08-2005, 09:25

no, external files are not allowed. And as NYYRIKKI stated: the file should be loadable as an ASCII file.

By zett

Hero (549)

zett's picture

25-08-2005, 09:31

one line.....
nice idea
but "jammer" no gfx files
and one line is to short to make data
hemm diffucult but nice ..Cool

let's create!

By AuroraMSX

Paragon (1901)

AuroraMSX's picture

25-08-2005, 09:32

so euh, a basic one-liner like this:

10 bload "mygame.bin",r

would be allowed?

And if it isn't you can always go for:

10 OPEN "16KGAME.BIN" AS 1, LEN=1: FIELD #1,1 AS X$: AD=&H8100:
   FOR I=0 TO 16383: GET #1: POKE AD,ASC(X$): AD=AD+1: NEXT:
   CLOSE #1: DEFUSR=&H8100: X=USR(0)

(Formatted for convenience and you need to fiddle with some of the figures, but you get my drift B))
CoolCoolCoolCoolCoolCoolCool

By AuroraMSX

Paragon (1901)

AuroraMSX's picture

25-08-2005, 09:33

I really had only on B) there ... Question

By zett

Hero (549)

zett's picture

25-08-2005, 09:40

10 rem this is da basic onelinerdemo da COOWL!!!!:BEEP:END

By zett

Hero (549)

zett's picture

25-08-2005, 09:45

can i make more than one entry?

By snout

Ascended (15187)

snout's picture

25-08-2005, 10:19

Yes, of course you are...

By zett

Hero (549)

zett's picture

25-08-2005, 10:35

letzz code

By ricbit

Champion (437)

ricbit's picture

25-08-2005, 19:05

Actually I never did an one-liner, my real passion is the two-liners.

By BiFi

Enlighted (4348)

BiFi's picture

25-08-2005, 20:19

how about this one? the real one-liner is the second line... the first line is just to prepare it:

          50 MC$="":FORI=0TO54:READA$:MC$=MC$+CHR$(VAL("&H"+A$)):NEXTI
          :DEFUSR=PEEK(VARPTR(MC$)+1)+256*PEEK(VARPTR(MC$)+2):DUMY=USR
          (0)
          60 DATA 3A,2D,00,B7,C8,3D,28,08,CD,7A,01,CB,BF,CD,7D,01,AF,D
          3,99,3E,97,D3,99,21,02,00,3A,F8,FA,F5,CD,0C,00,5F,F1,23,D5,C
          D,0C,00,D1,57,D5,DD,E1,CD,5F,01,DD,21,85,01,C3,5F,01

By BiFi

Enlighted (4348)

BiFi's picture

25-08-2005, 20:19

hmm, maybe I should've removed the initial spaces Wink

By wolf_

Ambassador_ (9765)

wolf_'s picture

25-08-2005, 20:56

it's a 2-liner eh.. can't you pack the asm as a long string without spaces and then use mid$ to read it all out and place it into mem?

By BiFi

Enlighted (4348)

BiFi's picture

25-08-2005, 20:58

sure, but since the post (or at least snout reacted with that later) states it should be typeable this is the best could've done back then... this thing is about 9 years old already...

By Latok

msx guru (3655)

Latok's picture

26-08-2005, 13:52

I suggest the entries won't be available for download until the deadline is closed. Instead, the entry itself will be included in the related newspost. One has to type it!! Smile Smile Smile

By BiFi

Enlighted (4348)

BiFi's picture

26-08-2005, 13:56

[oldskool spoiler]copy/paste[/oldskool spoiler]
Tongue Tongue ;P Wink

By Latok

msx guru (3655)

Latok's picture

26-08-2005, 14:05

I can't copy paste into my turboR.....O, emulators.....God forbid them Smile

By Latok

msx guru (3655)

Latok's picture

26-08-2005, 14:06

And don't start talks about saving them in some ASCII format, loading that from basic bladibladibla. In that amount of time, I've already typed it completely Tongue

By BiFi

Enlighted (4348)

BiFi's picture

26-08-2005, 14:36

yes, but how long does it take you to find that one little typo that causes the one-liner to fail? Wink

By [D-Tail]

Ascended (8232)

[D-Tail]'s picture

26-08-2005, 14:38

ICP7 H00LIGANS!!!! Big smile

Or was that something different? Wink

By wolf_

Ambassador_ (9765)

wolf_'s picture

26-08-2005, 15:02

Insane Clown Posse, tailz? Tongue

By BiFi

Enlighted (4348)

BiFi's picture

26-08-2005, 15:12

wasn't that a MemMan tsr? Wink

By Accumulator

Supporter (16)

Accumulator's picture

14-09-2005, 01:35

No one can beat my one-liner:

10 CLS:color15,0,0:key offTonguerint "The magic is within the machine..."+chr$(13)+"----------------------------------"+chr$(13)+chr$(13)+"A real konami trick:"+chr$(13)+chr$(13)+"Press a key to continue":A$=input$(1):defusr=0:a=usr(0)

By Samor

Paragon (2026)

Samor's picture

26-09-2005, 08:19

I still have few days, right?

I was planning not to enter, but I found that MSX2/Basic book from Philips in my closet and looked up specifics for the "PLAY" command Tongue
Whatever I enter will most likely suck, though Tongue
I think I also have an MSX Music manual somewhere. Hm. Wink

Dunno if I find enough time Crying , but whatever.... Eek!