Tetris. In one line. Of BBC BASIC.
Here.
Well, I thought it was cool. It's not often you see RISC OS mentioned in an O'Reilly publication.
|
One Line Tetris |
|
tribbles (22:28 8/8/2005) pnaulls (22:49 8/8/2005) andrew (10:52 9/8/2005) Phlamethrower (11:35 9/8/2005) andrew (11:39 9/8/2005) Phlamethrower (11:56 9/8/2005) Phlamethrower (12:05 9/8/2005) rich (12:21 9/8/2005) Phlamethrower (13:48 9/8/2005) andrew (14:58 9/8/2005) Gavin (15:40 9/8/2005) rich (15:55 9/8/2005) ilcook (18:07 9/8/2005)
|
|
Jason Tribbeck |
Message #93771, posted by tribbles at 22:28, 8/8/2005 |
Captain Helix
Posts: 929
|
Very impressive. m=9-INKEY(INKEYTRUEOR6)MOD3 is quite inspired. REPEAT..IF..UNTIL..ELSE..UNTIL isn't something I would've thought worked. &C2590EC I think is the pattern for the shapes - not sure. |
|
[ Log in to reply ] |
|
Peter Naulls |
Message #93772, posted by pnaulls at 22:49, 8/8/2005, in reply to message #93771 |
Member
Posts: 317
|
Olly is my hero. Especially his knees. I'm not sure if it helps that he resembles Piers. Anyway, Olly once told me that they started outlawing some BBC BASIC constructs because it was considered cheating, although I don't recall any specifics. |
|
[ Log in to reply ] |
|
Andrew |
Message #93773, posted by andrew at 10:52, 9/8/2005, in reply to message #93772 |
Handbag Boi
Posts: 3439
|
m=9-INKEY(INKEYTRUEOR6)MOD3 What does it do? |
|
[ Log in to reply ] |
|
Jeffrey Lee |
Message #93774, posted by Phlamethrower at 11:35, 9/8/2005, in reply to message #93773 |
Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot stuff
Posts: 15100
|
The rheolism site is down, and the code in that blog is broken :( |
|
[ Log in to reply ] |
|
Andrew |
Message #93775, posted by andrew at 11:39, 9/8/2005, in reply to message #93774 |
Handbag Boi
Posts: 3439
|
I could have put money on that. |
|
[ Log in to reply ] |
|
Jeffrey Lee |
Message #93776, posted by Phlamethrower at 11:56, 9/8/2005, in reply to message #93775 |
Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot stuff
Posts: 15100
|
http://web.archive.org/web/20041012042547/http://www.survex.com/~olly/rheolism.html :) |
|
[ Log in to reply ] |
|
Jeffrey Lee |
Message #93777, posted by Phlamethrower at 12:05, 9/8/2005, in reply to message #93776 |
Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot stuff
Posts: 15100
|
I like the way it uses the "Mistake" error message when you lose :) |
|
[ Log in to reply ] |
|
Richard Goodwin |
Message #93778, posted by rich at 12:21, 9/8/2005, in reply to message #93777 |
Dictator for life
Posts: 6828
|
http://www.iconbar.com/news/rheolism.txt Although I couldn't save it as a BASIC file as StrongED says "Line 0 too long to tokenise" :) |
|
[ Log in to reply ] |
|
Jeffrey Lee |
Message #93779, posted by Phlamethrower at 13:48, 9/8/2005, in reply to message #93778 |
Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot stuff
Posts: 15100
|
Yeah, on the website they have a command file that types in the program as multiple lines then edits BASIC's memory to merge them into one. |
|
[ Log in to reply ] |
|
Andrew |
Message #93780, posted by andrew at 14:58, 9/8/2005, in reply to message #93779 |
Handbag Boi
Posts: 3439
|
I'd be happy with two or three lines if it would work! |
|
[ Log in to reply ] |
|
Gavin Wraith |
Message #93781, posted by Gavin at 15:40, 9/8/2005, in reply to message #93780 |
Member
Posts: 31
|
Too. many. full. stops. ... |
|
[ Log in to reply ] |
|
Richard Goodwin |
Message #93782, posted by rich at 15:55, 9/8/2005, in reply to message #93781 |
Dictator for life
Posts: 6828
|
It. Is. Called. Humour. |
|
[ Log in to reply ] |
|
Ian Cook |
Message #93783, posted by ilcook at 18:07, 9/8/2005, in reply to message #93782 |
Resident idiot
Posts: 1075
|
Humour. what. that. |
|
[ Log in to reply ] |
|
|