log in | register | forums
Show:
Go:
Forums
Username:

Password:

User accounts
Register new account
Forgot password
Forum stats
List of members
Search the forums

Advanced search
Recent discussions
- Rougol August meeting is an in person party (News:)
- RISCOSbits announces their RISC OS rewards scheme (News:)
- New Venue for the London 2022 Show (News:1)
- WROCC August Meeting Report - AMCOG games (News:)
- WROCC August Meeting - Tony Bartram and AMCOG games (News:)
- July 2022 News Summary (News:2)
- WROCC Newsletters Volume 40:1 (News:)
- Rougol July talk - Desktop... Engine, Paolo Fabio Zaino (News:)
- Paolo Fabio Zaino is talking at Rougol on Monday (News:)
- R-Comp Messenger Pro 9 reviewed (News:)
Related articles
- Pass the time this Christmas with a selection of RISC OS and BBC Micro talks
- Wakefield 2001 show report
- NTK's take on BBC BASIC interpreter Brandy
- Wakefield 2000 show report
- Games news
- Happy Birthday from Acorn Arcade!
- Bob and Trev: Resurrection: Just in time
- Monster AI
- Combat
- Visibility and pathfinding
Latest postings RSS Feeds
RSS 2.0 | 1.0 | 0.9
Atom 0.3
Misc RDF | CDF
Site Search
 
Article archives
The Icon Bar: News and features: One Line Tetris
 

One Line Tetris

Posted by Richard Goodwin on 22:09, 8/8/2005 | , , ,
 
Rheolism SmallTetris. 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
tribbles
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
HandbagHandbag 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
PhlamethrowerHot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot stuff

Posts: 15097
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
HandbagHandbag 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
PhlamethrowerHot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot stuff

Posts: 15097
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
PhlamethrowerHot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot stuff

Posts: 15097
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
Rich
Dictator for life
Posts: 6820
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
PhlamethrowerHot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot stuff

Posts: 15097
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
HandbagHandbag 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
Rich
Dictator for life
Posts: 6820
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
trainResident idiot
Posts: 1073
Humour. what. that.
  ^[ Log in to reply ]
 

The Icon Bar: News and features: One Line Tetris