MRC Oneliner Challenge

van snout op 24-08-2005, 22:04
Onderwerp: MRC
Labels: Challenges
Talen:

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!

Reacties (34)

Van wolf_

Ambassador_ (9972)

afbeelding van wolf_

24-08-2005, 22:06

"Ich bin ein MSX'er"

Van snout

Ascended (15187)

afbeelding van 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

Van Bart

Paragon (1422)

afbeelding van Bart

24-08-2005, 22:38

PICTURES!!! Smile

Van turbor

Champion (499)

afbeelding van 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

Van snout

Ascended (15187)

afbeelding van snout

24-08-2005, 22:44

Only regular oneliners are allowed in this one as well Wink

Van wolf_

Ambassador_ (9972)

afbeelding van wolf_

24-08-2005, 23:03

something tells me NYYRIKKI will be the judge ^_^

Van NYYRIKKI

Enlighted (5939)

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

Van SLotman

Paragon (1240)

afbeelding van SLotman

25-08-2005, 05:48

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

Van BiFi

Enlighted (4348)

afbeelding van 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

Van ro

Scribe (4712)

afbeelding van ro

25-08-2005, 07:51

so euh, a basic one-liner like this:

10 bload "mygame.bin",r

would be allowed? LOL!

Van zett

Hero (608)

afbeelding van zett

25-08-2005, 09:05

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

Van snout

Ascended (15187)

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

Van zett

Hero (608)

afbeelding van 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!

Van AuroraMSX

Paragon (1902)

afbeelding van 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

Van AuroraMSX

Paragon (1902)

afbeelding van AuroraMSX

25-08-2005, 09:33

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

Van zett

Hero (608)

afbeelding van zett

25-08-2005, 09:40

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

Van zett

Hero (608)

afbeelding van zett

25-08-2005, 09:45

can i make more than one entry?

Van snout

Ascended (15187)

afbeelding van snout

25-08-2005, 10:19

Yes, of course you are...

Van zett

Hero (608)

afbeelding van zett

25-08-2005, 10:35

letzz code

Van ricbit

Champion (438)

afbeelding van ricbit

25-08-2005, 19:05

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

Van BiFi

Enlighted (4348)

afbeelding van 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

Van BiFi

Enlighted (4348)

afbeelding van BiFi

25-08-2005, 20:19

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

Van wolf_

Ambassador_ (9972)

afbeelding van 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?

Van BiFi

Enlighted (4348)

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

Van Latok

msx guru (3870)

afbeelding van 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

Van BiFi

Enlighted (4348)

afbeelding van BiFi

26-08-2005, 13:56

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

Van Latok

msx guru (3870)

afbeelding van Latok

26-08-2005, 14:05

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

Van Latok

msx guru (3870)

afbeelding van 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

Van BiFi

Enlighted (4348)

afbeelding van 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

Van [D-Tail]

Ascended (8259)

afbeelding van [D-Tail]

26-08-2005, 14:38

ICP7 H00LIGANS!!!! Big smile

Or was that something different? Wink

Van wolf_

Ambassador_ (9972)

afbeelding van wolf_

26-08-2005, 15:02

Insane Clown Posse, tailz? Tongue

Van BiFi

Enlighted (4348)

afbeelding van BiFi

26-08-2005, 15:12

wasn't that a MemMan tsr? Wink

Van Accumulator

Rookie (26)

afbeelding van 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)

Van Samor

Prophet (2148)

afbeelding van 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!