Posts: 133
Threads: 19
Joined: Jan 2005
Hi!
Just as the topic says, a nice little 4liner that creates some kind of random dungeon.
With dungeon i mean those room+passage+room+... that most roguelikes (Nethack, Angband) create.
You dont need to populate it with monsters and treasures, just create it and
display it on a 80x25 text screen.
Lets see if i can come around with one too.
So Long, The Werelion!
color=red]Look at you, Hacker. A pathetic creature of meat and bone, panting and sweating as you run through my corridors. How can you challenge a perfect, immortal machine?" - Shodan, AI at Citadel Station orbiting Earth[/color]
Posts: 6,419
Threads: 74
Joined: Mar 2002
4 liner without quotes? I guess
without quotes, am I right? If you allow quotes I can stuff 200 lines in one
Posts: 133
Threads: 19
Joined: Jan 2005
Quote:4 liner without quotes? I guess without quotes, am I right? If you allow quotes I can stuff 200 lines in one
With these -> :
And with the 255 char limit
color=red]Look at you, Hacker. A pathetic creature of meat and bone, panting and sweating as you run through my corridors. How can you challenge a perfect, immortal machine?" - Shodan, AI at Citadel Station orbiting Earth[/color]
Posts: 3,522
Threads: 189
Joined: Dec 2003
Then it's a 1024character limit (Not counting CRLF)
Nath, quote = "
Colon (sp?) = : :lol:
Posts: 6,419
Threads: 74
Joined: Mar 2002
Gimme a break, I wrote that so early :lol:
If it is using colons... well, 1024 * 4 = 4 Kb of code. That's pretty big.
Posts: 3,522
Threads: 189
Joined: Dec 2003
And if you don't use the QBIDE you can have over 1024byte lines...
Anyways, I have no idea how one would do this
Posts: 6,419
Threads: 74
Joined: Mar 2002
Quote:And if you don't use the QBIDE you can have over 1024byte lines...
Anyways, I have no idea how one would do this
Well, BC.EXE just takes 255 chars per line. The QB IDE can interpret programs with 1024 chars per line. When compiling, it adds funny "_"s.
(I
think, I haven't coded in QB since...)
Posts: 3,522
Threads: 189
Joined: Dec 2003
Lol, i thought it was th other way around
Silly QB... freeBASIC all the way
Posts: 1,080
Threads: 87
Joined: Feb 2002
Posts: 3,522
Threads: 189
Joined: Dec 2003
Quote:With dungeon i mean those room+passage+room+... that most roguelikes (Nethack, Angband) create.
Definiera: Läsa
Hehe :lol: