Don’t fall over yourself goggling…

Just wrote my favorite piece of code yet:

print "Do you want to play again?"
print "Press enter to continue, anything else to quit."
someInput = raw_input()
print "That's not enter so we're quitting."
for i in range("anything_else", '&E'):
    print "i =", i,
    if i == '&E':
    elif i == "anything_else":
        import sys, random
        import random

Yeah there's probably better ways to do it, cleaner and more
elegant ones, but I don't know those yet.  So there we have it, she looks 
like a functioning game!

...Now there's other stuff to worry about.  But I am PSYCHED!!
This entry was posted in programming, RPG, writing and tagged , , , , . Bookmark the permalink.

ooh, messages from aliens!

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s