Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-4041-

best prog. ever

Name: Anonymous 2007-09-21 0:55 ID:D/13g1nz

I want to write a fricken fuckin long text based RPG with a lot of different options on how things could go. Is there any way I could do this with a basis in Java?

Name: Anonymous 2007-09-21 1:11 ID:YJOTROZU

dim i
for i = 1 to 3 step 1
print "It is pitch black. You are likely to be eaten by a grue."
input "> ", a$
print "What?"
print ""
next
print "Invited by the darkness, a horde of Adventurer-hungry Grues sets upon you, and you are promptly devoured."
print ""
print "* * * Y O U  H A V E  D I E D * * *"

Name: Anonymous 2007-09-21 1:43 ID:yJAGOFJr

>>1
Yes. You could try writing it in Java, for example.

Name: 1 2007-09-21 1:45 ID:D/13g1nz

>>3
Well yeah.
I'm just taking a intro to programming class of my university and I was wondering if there was something else I should learn after Java that would help the process. Or if just doing it in Java is the best way.

Name: Anonymous 2007-09-21 2:13 ID:yJAGOFJr

>>4
I can't think of many situations in which Java would be best for anything. But if you feel comfortable writing a lot of code in it, there's no huge reason to learn another language. If you feel like you need to do more studying first anyway, just read SICP (I mean it).

Name: 1 2007-09-21 2:17 ID:D/13g1nz

>>5
I mean, I'll write a lot of code, but I was just wondering if there was a better way to do it. What makes LISP from Java? And what advantages does LISP have?

Name: 1 2007-09-21 2:18 ID:D/13g1nz

>>6
LISP different from Java?*

Name: Anonymous 2007-09-21 2:35 ID:yJAGOFJr

>>6
Common Lisp pros compared to Java:
1. Less typing
2. No ZOMG OBJECTS *fap fap fap*
3. But a better object system anyway
4. SLIME
5. Uniform syntax
6. Macros when you need them (functions that write code for you -- heard of design patterns? In Lisp we call those macros and the computer handles the boring part)
7. Probably some other stuff

Cons:
1. You'll be very smug
2. You can't unlearn it ever
3. You haven't learned it yet

SICP actually teaches a Lisp called Scheme rather than CL, so you don't get CL's object system. But other than that, all apply.

Name: Anonymous 2007-09-21 2:36 ID:yJAGOFJr

>>8
Oh, and no Slime for Scheme

Name: Anonymous 2007-09-21 2:39 ID:D/13g1nz

>>9
So I shouldn't use SICP to learn LISP? Because that's Scheme?  which Lisp implementation is the best?

Name: Anonymous 2007-09-21 2:48 ID:YJOTROZU

they're all pretty much equally shitty

Name: Anonymous 2007-09-21 2:53 ID:D/13g1nz

>>11
Then what else should I use instead of lisp?

Name: Anonymous 2007-09-21 3:09 ID:AXSz4qlb

>>12
ECMAScript

Name: Anonymous 2007-09-21 3:09 ID:YJOTROZU

>>12
considering you're probably going to forget about it by next month, some kind of shitty engine designed just for making text games

Name: 1 2007-09-21 3:13 ID:D/13g1nz

>>13
Why EMCAScript? Isn't that for web based programming?

Name: Anonymous 2007-09-21 3:39 ID:yJAGOFJr

>>10
Some people prefer Scheme and some prefer Common Lisp. The difference between them is a matter of which functions you call and what arguments they take. If you're learning one, you might as well at least know a bit about the other.

>>14
Probably has the right of it. Have you considered Z-code? It's for text adventures moreso than RPGs (I've never seen a text RPG), but I think it could do that thing.

Or you could just use Java since you presumably know it. It would be good practice munging strings and a good exercise in program structure without the extra confusion of managing graphics or anything.

Name: 1 2007-09-21 3:43 ID:D/13g1nz

I'm just interested in making a text based RPG with an interesting story so if anyone was interested enough, they could actually play something with depth from multiple angles...without me having to do any sort of graphics. It may be a bit of a romantic idea in terms of my ability to implement anything cool...but I had these grand ideas of writing a text based game and seeing if anyone had any interest and then possibly doing something with graphics with similar game structure.

Name: Anonymous 2007-09-21 4:22 ID:5nFxEnef

>>1
I'd do that in Python. However, I advice you to read SICP and learn Scheme, for the enlightening experience that will make you a better programmer for the rest of your life. You can benefit from SICP using any language, even that Java piece of shit, if only because you'll understand better why it sucks.

Name: Anonymous 2007-09-21 5:56 ID:AXSz4qlb

>>15
JavaScript, ActionScript, JScript, and  JScript.NET are all ECMAScript.

Name: Anonymous 2007-09-21 8:07 ID:Heaven

>>19
Those are all primarily used for web based programming.

Name: ALambdaDaze !AlaM6d4dzE 2007-09-21 13:04 ID:iptnm8YT

hayu sexy guys, check out my tripcode ^-------^

Name: Anonymous 2007-09-21 13:18 ID:Heaven

Do it in Brainfuck

enjoy your 16gb role-playing RPG game

Name: Anonymous 2007-09-21 13:36 ID:YJOTROZU

role-playing role-playing game game

Name: Anonymous 2007-09-21 13:40 ID:r2Lc6PKJ

Just fucking read SICP and ignore everything else until you've finished.

Name: Anonymous 2007-09-21 13:48 ID:fK7Snp5z

role-playing role-playing role-playing game game game

Name: Anonymous 2007-09-21 14:54 ID:yJAGOFJr

SICP teaches you how to write programs. It's pretty much incidental that you pick up Scheme along the way.

Name: Anonymous 2007-09-21 15:25 ID:YJOTROZU

>>26
not in any useful language though

Name: Anonymous 2007-09-21 15:32 ID:yJAGOFJr

>>27
ITT languages are completely dissimilar and lessons learned with one language in no way apply to others.

Name: Anonymous 2007-09-21 15:37 ID:YJOTROZU

>>28
no shit

Name: Anonymous 2007-09-21 15:42 ID:yJAGOFJr

>>29
shit

Name: Anonymous 2007-09-21 15:51 ID:fK7Snp5z

>>26
Listen to this man, he knows what he's saying

>>27
Don't listen to this man, he doesn't know what he's saying

>>28
Don't listen t othis man, he hasn't understand SICP yet

Name: Anonymous 2007-09-21 15:57 ID:Heaven

YJOTROZU, despite the fuckwin ID, is retarded.

Name: Anonymous 2007-09-21 16:11 ID:yJAGOFJr

>>31
Oh, wow. Lern2IDs. >>26 and >>28 are pame serson.

Name: Anonymous 2007-09-21 17:32 ID:YJOTROZU

in after butthurt lispfags

Name: Anonymous 2007-09-21 17:33 ID:Heaven

>>34
butthurt butthurtfag

Name: Anonymous 2007-09-21 17:59 ID:yJAGOFJr

>>35
Is that one of those perpetually butthurt fags that's not butthurt over anything in particular?

Name: Anonymous 2007-09-21 18:43 ID:YJOTROZU

>>36
that's generally how lispfags are, especially considering they go around parading that you can never forget lisp

Name: Anonymous 2007-09-21 18:52 ID:NacO+YN0

>>37

Did you forget lisp? No? Hmmm....

Name: Anonymous 2007-09-21 19:12 ID:yJAGOFJr

>>37
Wut? That doesn't even make sense.

Name: Anonymous 2007-09-22 22:53 ID:D0MzYRoJ

byond.com

Name: Anonymous 2007-09-22 23:00 ID:oUMTvB4D

>>1
Read SICP, it's written by The Sussman.

Name: Anonymous 2009-09-19 1:21

Lain.

Name: Anonymous 2009-09-19 1:21

Lain.

Name: Anonymous 2009-09-19 1:21

Lain.

Name: Anonymous 2009-09-19 1:22

Lain.

Name: Anonymous 2009-09-19 1:22

Lain.

Name: Anonymous 2011-02-03 3:18

Name: Anonymous 2011-02-04 13:19

Don't change these.
Name: Email:
Entire Thread Thread List