Register - Login
Views: 99846179
Main - Memberlist - Active users - Calendar - Wiki - IRC Chat - Online users
Ranks - Rules/FAQ - Stats - Latest Posts - Color Chart - Smilies
05-04-22 12:27:24 AM
Jul - Computers and Technology - So, I'm working on a text adventure. New poll - New thread - New reply
Next newer thread | Next older thread
RahanAkero

The End of the World
Level: 57


Posts: 13/756
EXP: 1401022
For next: 84906

Since: 11-25-09

From: Staten Island, NY

Since last post: 264 days
Last activity: 12 hours

Posted on 12-01-09 06:27:19 PM Link | Quote
And I wanna show it off.

I'm learning Java -- I'm in class right now, actually -- and I've been playing around with making a simple command-line text adventure.

SOME OUTPUT!

----jGRASP exec: java smb1

SUPER MARIO BROS.
(C) 1985 Nintendo co., ltd.
PRESS ENTER TO BEGIN.

You are standing on a brown brick road, with a beautiful blue sky above.
Ahead of you, you can faintly see the outline of bricks in the sky.
The only path for you to take is FORWARD.

Back
Hey, that isn't a direction.
You are standing on a brown brick road, with a beautiful blue sky above.
Ahead of you, you can faintly see the outline of bricks in the sky.
The only path for you to take is FORWARD.

Forward
You see a row of five blocks floating in the sky ABOVE you.
There is also a brown CREATURE blocking the way forward.
It looks angry.
Above
You hit your head on the blocks. Ouch!
You see a row of five blocks floating in the sky ABOVE you.
There is also a brown CREATURE blocking the way forward.
It looks angry.
Forward
The angry creature is blocking you.
You see a row of five blocks floating in the sky ABOVE you.
There is also a brown CREATURE blocking the way forward.
It looks angry.
creature
The creature seems uglier the closer you get to it!.
It looks like a diseased, angry mushroom.
You could try to rush PAST it, JUMP on it, or GO OVER it.
past
That was stupid.
You bump into the creature on the way by, and your body goes numb.
It feels almost as if you're falling off the world, into oblivion...
GAME OVER
Continue? y/n
n

----jGRASP: operation complete.


It's ugly, but I'm just learning. I've got to the point where you can stomp the goomba, and get 200 points. D: Now, to figure out how to make the points persist. Also, I totally forgot the first coin.

I realize this has been done before -- http://www.flickr.com/photos/ethanhein/3089436235/ -- but only as an image. This is actually pseudointeractive. Source available on request so you can lol at my shoddy coding.

____________________
XBL/PSN/Steam: RahanAkero
Most frequently played games:
360: Modern Warfare 2, Halo 3, KoF98 UM.
PSN: Tekken 6, SF4.
Steam: TF2.
Next newer thread | Next older thread
Jul - Computers and Technology - So, I'm working on a text adventure. New poll - New thread - New reply


Rusted Logic

Acmlmboard - commit 47be4dc [2021-08-23]
©2000-2022 Acmlm, Xkeeper, Kaito Sinclaire, et al.

28 database queries.
Query execution time: 0.080302 seconds
Script execution time: 0.004567 seconds
Total render time: 0.084869 seconds