MRC Oneliner Challenge

por snout en 24-08-2005, 22:04
Tema: MRC
Etiquetas: Challenges
Idiomas:

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!

Comentarios (34)

Por wolf_

Ambassador_ (9972)

Imagen del wolf_

24-08-2005, 22:06

"Ich bin ein MSX'er"

Por snout

Ascended (15187)

Imagen del snout

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

Por Bart

Paragon (1422)

Imagen del Bart

24-08-2005, 22:38

PICTURES!!! Smile

Por turbor

Champion (499)

Imagen del turbor

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

Por snout

Ascended (15187)

Imagen del snout

24-08-2005, 22:44

Only regular oneliners are allowed in this one as well Wink

Por wolf_

Ambassador_ (9972)

Imagen del wolf_

24-08-2005, 23:03

something tells me NYYRIKKI will be the judge ^_^

Por NYYRIKKI

Enlighted (5939)

Imagen del NYYRIKKI

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. :-)

Por SLotman

Paragon (1240)

Imagen del SLotman

25-08-2005, 05:48

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

Por BiFi

Enlighted (4348)

Imagen del BiFi

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

Por ro

Scribe (4711)

Imagen del ro

25-08-2005, 07:51

so euh, a basic one-liner like this:

10 bload "mygame.bin",r

would be allowed? LOL!

Por zett

Hero (608)

Imagen del zett

25-08-2005, 09:05

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

Por snout

Ascended (15187)

Imagen del snout

25-08-2005, 09:25

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

Por zett

Hero (608)

Imagen del zett

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!

Por AuroraMSX

Paragon (1902)

Imagen del AuroraMSX

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

Por AuroraMSX

Paragon (1902)

Imagen del AuroraMSX

25-08-2005, 09:33

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

Por zett

Hero (608)

Imagen del zett

25-08-2005, 09:40

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

Por zett

Hero (608)

Imagen del zett

25-08-2005, 09:45

can i make more than one entry?

Por snout

Ascended (15187)

Imagen del snout

25-08-2005, 10:19

Yes, of course you are...

Por zett

Hero (608)

Imagen del zett

25-08-2005, 10:35

letzz code

Por ricbit

Champion (438)

Imagen del ricbit

25-08-2005, 19:05

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

Por BiFi

Enlighted (4348)

Imagen del BiFi

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

Por BiFi

Enlighted (4348)

Imagen del BiFi

25-08-2005, 20:19

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

Por wolf_

Ambassador_ (9972)

Imagen del wolf_

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?

Por BiFi

Enlighted (4348)

Imagen del BiFi

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...

Por Latok

msx guru (3870)

Imagen del Latok

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

Por BiFi

Enlighted (4348)

Imagen del BiFi

26-08-2005, 13:56

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

Por Latok

msx guru (3870)

Imagen del Latok

26-08-2005, 14:05

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

Por Latok

msx guru (3870)

Imagen del Latok

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

Por BiFi

Enlighted (4348)

Imagen del BiFi

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

Por [D-Tail]

Ascended (8259)

Imagen del [D-Tail]

26-08-2005, 14:38

ICP7 H00LIGANS!!!! Big smile

Or was that something different? Wink

Por wolf_

Ambassador_ (9972)

Imagen del wolf_

26-08-2005, 15:02

Insane Clown Posse, tailz? Tongue

Por BiFi

Enlighted (4348)

Imagen del BiFi

26-08-2005, 15:12

wasn't that a MemMan tsr? Wink

Por Accumulator

Rookie (26)

Imagen del Accumulator

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)

Por Samor

Prophet (2148)

Imagen del Samor

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!