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

Pages: 1-4041-

Excellent Quest

Name: Anonymous 2009-11-26 10:50

http://sourceforge.net/projects/excellentquest/

Made that a few weeks ago. Just started writing Python. You like?

It still has quite a few errors that I haven't uploaded fixes for. I'll get around to it eventually.

Name: Anonymous 2009-11-26 11:00

duder@prog:~/shit/ex_quest$ python excellent.py
Excellent Quest v0.3

What is your name, adventurer?: Sadlegoergiwsta
Traceback (most recent call last):
  File "excellent.py", line 31, in <module>
    name = str(input('What is your name, adventurer?: '))
  File "<string>", line 1, in <module>
NameError: name 'Sadlegoergiwsta' is not defined

Name: Anonymous 2009-11-26 11:16

tg;dd

Name: Anonymous 2009-11-26 11:16

>>2
One hell of a short adventure.

Name: Anonymous 2009-11-26 11:21

Excellent Quest, bro!

Name: Anonymous 2009-11-26 11:21

>>2
I might have lol'd a little at str(raw_input))

Name: Anonymous 2009-11-26 11:42

>>3-4
I think this is written in python3

Name: Anonymous 2009-11-26 13:09

>>7
I just had a look at the source. I think it is written in BASIC.

Name: Anonymous 2009-11-26 13:34

I'm playing dragons age and compared to it your quest sux ! ! !

Name: Anonymous 2009-11-26 13:43

>>9
dragon sage

Name: Anonymous 2009-11-26 14:36

>>10
incorrect dragon sage usage

Name: Dragon Sage 2009-11-26 14:40

Dragon Sage flies in all fields

Name: Anonymous 2009-11-26 19:54

Terrible!

Name: Anonymous 2009-11-26 21:12

So, it doesn't really seem complete yet... It asked if I wanted to choose my own race; I said no, and it crashed. So I tried again and said yes, chosing a human mage, and the game immediately ended with credits, with me having apparently vanquished a 'fire lolicon'.

Name: Anonymous 2009-11-26 21:21

Here's the entire game, as it appears.
re >>14


What is your name, adventurer?: Selgamgylwyn

Would you like to choose your own race and career? (y/n): y

Which race would you like to be?

1: HUMAN
2: LOLICON
3: WOLFMAN
:: 3

What career do you choose?

1: BEAST
2: MAGE
3: ARTILLERY SPECIALIST
:: 2

You are a: WOLFMAN MAGE
Strength: 3 || Defense: 3 || Magic: 3 || Accuracy: 4 || Vitality: 4

Helmet: MANLINESS!
Top: NONE
Bottom: MANLINESS!
Gloves: MANLY STUDDED GLOVES
Shoes: MANLY WOODEN SANDLES
Jewelry: MANLY NECKLACE

Ready to go? (y/n): y

Battle time! Oh yeah!

Walking around on the overworld, looking for a monster...

Encountered a GODLY WITCH!

Level: 2.0
Strength: 1.0
Defense: 2.7
Magic: 3.7
Accuracy: 3.7
Vitality: 3.0

Selgamgylwyn hits GODLY WITCH with a magic punch for 1.0 damage! GODLY WITCH has 2.0 health remaining!

GODLY WITCH hits Selgamgylwyn with a magic attack for 3.7 damage! Selgamgylwyn has 0.3 health remaining!

GODLY WITCH hits Selgamgylwyn with a magic attack for 2.2 damage! Selgamgylwyn has -1.9 health remaining!

Game Over!

+++ Credits +++

Mostly Coded by: Lupin (Theodore Edmison VIII)
Partially Coded by: E rac (Darren Massey)

Press enter to quit...

Name: Anonymous 2009-11-26 21:39

>>15

Oh, I got farther than that


Level: 1.9E+3

Strength: 2.0E+13 || Defense: 2.0E+7 || Magic: 2.0E+6 || Accuracy: 2.0E+15 || Vitality: 2.0E+22


Helmet: MAGICAL HELMET of AWESOME
Top: RESILIENT PLATEBODY of DRAGON
Bottom: RESILIENT PLATELEGS of TENTACLE
Gloves: RESILIENT GLOVES of AWESOME
Shoes: DESTRUCTIVE SHOES of AWESOME
Jewelry: DESTRUCTIVE NECKLACE of DRAGON

Name: Anonymous 2009-11-26 21:48

Did a quick read of the source code, some parts of the script text amused me, but the actual coding seems to be largely done by copy-paste.

Name: Anonymous 2009-11-27 0:26

Correcting the errors in this game will become my reason for learning Python.
Thank you OP.

Name: Anonymous 2009-11-27 0:54

>>18

You won't be learning Python

You'll be learning Python3000

Name: Anonymous 2009-11-27 4:49

>>19
what's the difference?

Name: Anonymous 2009-11-27 5:12

>>20
One sucks. The other sucks, too.

Name: Anonymous 2009-11-27 5:55

>>21
No, it's not that. The other şũčĸš.

Name: Anonymous 2009-11-27 6:06

>>20
FIOC vs FIOC3000

Name: Anonymous 2009-11-27 7:16

>>22
No, it's not that. The other şũčĸš, and additionally is twice as slow when computing complex arithmetic expressions, such as 1+1.

Name: Anonymous 2009-11-27 7:49

COMPLEX ARITHMETIC EXPRESSIONS

Name: Anonymous 2009-11-27 8:07

>>25
What is 1? An integer? Perhaps it could be a number object? Or a enumerable class? Maybe it is a string treated as number?

Name: Anonymous 2009-11-27 8:12

>>26
In fact, the treatment of numbers is one of the trickiest and most confusing aspects of any programming language. Some typical issues involved are these: Some computer systems distinguish integers, such as 2, from real numbers, such as 2.71. Is the real number 2.00 different from the integer 2? Are the arithmetic operations used for integers the same as the operations used for real numbers? Does 6 divided by 2 produce 3, or 3.0? How large a number can we represent? How many decimal places of accuracy can we represent? Is the range of integers the same as the range of real numbers? Above and beyond these questions, of course, lies a collection of issues concerning roundoff and truncation errors -- the entire science of numerical analysis.

Name: Anonymous 2009-11-27 8:31

>>27
Cool story bro, but there are dynamic languages which do a lot more with numbers than Python3000 and still manage to run an order of magnitude faster.

BTW Python only has integers (always bignums in 3000) and double-precision floating point numbers, as defined by whatever the underlying C compiler and C standard library does with a double. So it has no "trickiness" or "special issues" other than Guido sucking too much.

Name: Anonymous 2009-11-27 9:24

>>28
Pussy couldn't handle gee em pay

Name: Anonymous 2009-11-27 9:39

>>29
About GMP, I wish other Lisp implementations than clisp would add support for it, it's always amazing to see this:

[1]> (ext:long-float-digits)
64
[2]> (sqrt 2.0l0)
1.4142135623730950488L0
[3]> (setf (ext:long-float-digits) 10000)
10000
[4]> (sqrt 2.0l0)
1.414213562373095048801688724209698078569671875376948073176679737990732478462107
03885038753432764157273501384623091229702492483605585073721264412149709993583141
32226659275055927557999505011527820605714701095599716059702745345968620147285174
18640889198609552329230484308714321450839762603627995251407989687253396546331808
82964062061525835239505474575028775996172983557522033753185701135437460340849884
71603868999706990048150305440277903164542478230684929369186215805784631115966687
13013015618568987237235288509264861249497715421833420428568606014682472077143585
48741556570696776537202264854470158588016207584749226572260020855844665214583988
93944370926591800311388246468157082630100594858704003186480342194897278290641045
07263688131373985525611732204024509122770022694112757362728049573810896750401836
98683684507257993647290607629969413804756548237289971803268024744206292691248590
52181004459842150591120249441341728531478105803603371077309182869314710171111683
91658172688941975871658215212822951848847208969463386289156288276595263514054226
76532396946175112916024087155101351504553812875600526314680171274026539694702403
00517495318862925631385188163478001569369176881852378684052287837629389214300655
86956868596459515550164472450983689603688732311438941557665104088391429233811320
60524336294853170499157717562285497414389991880217624309652065642118273167262575
39594717255934637238632261482742622208671155839599926521176252698917540988159348
64008345708518147223181420407042650905653233339843645786579679651926729239987536
66172159825788602633636178274959942194037777536814262177387991945513972312740668
98329989895386728822856378697749662519966583525776198939322845344735694794962952
16889148549253890475582883452609652409654288939453864662574492755638196441031697
98330618520193793849400571563337205480685405758679996701213722394758214263065851
32217408832382947287617393647467837431960001592188807347857617252211867490424977
36692920731109636972160893370866115673458533483329525467585164471075784860246360
08344491148185876555542864551233142199263113325179706084365597043528564100879185
00760361009159465670676883605571740076756905096136719401324935605240185999105062
10816359772643138060546701029356997104242510578174953105725593498445112692278034
49135066375687477602831628296055324224269575345290288387684464291732827708883180
87025339852338122749990812371892540726475367850304821591801886167108972869229201
19759988070381854333253646021108229927929307287178079988809917674177410898306080
03263118164279882311715436386966170299993416161487868601804550555398691311518601
03863753250045581860448040750241195184305674533683613674597374423988553285179308
96037389891517319587413442881784212502191695187559344438739618931454999990610758
70490902608835176362247497578588583680374579311573398020999866221869499225959132
76423619410592100328026149874566599688874067956167391859572888642473463585886864
49682238600698335264279905628316561391394255764906206518602164726303336297507569
787060660685649816009271870929215313236828135698893709742L0
[5]>

Name: Anonymous 2009-11-27 10:49

>>30

Because I'm sure you really need the square root of a number to the ten-thousandth place.

Name: Anonymous 2009-11-27 10:54

>>31
You'd be surprised.

Name: Anonymous 2009-11-27 11:03

>>32

Surprise me.

Name: Anonymous 2009-11-27 11:03

>>32
The only thing I can think of is highly specialized work. I can't think of any general study or application that would require such precision.

Name: Anonymous 2009-11-27 11:08

>>32
EXPERT MATHEMATICIAN here, and I think you are a liar.

Name: Anonymous 2009-11-27 11:15

>>31
You're a python developer, aren't you?

Python 2.6.4 (r264:75706, Nov  2 2009, 14:38:03)
[GCC 4.4.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> 2/3
0
>>>

Name: Anonymous 2009-11-27 11:19

>>36
ITT we don't understand python.

Name: Anonymous 2009-11-27 11:35

GHCi, version 6.8.2: http://www.haskell.org/ghc/  :yhbt for help
Loading package base ... linking ... Done.
Prelude> 2/3
*** Exception: stack overflow


:(

Name: Anonymous 2009-11-27 11:37

>>37

ITT we understand python, but dislike it. And remember our sage.

Name: Anonymous 2009-11-27 12:59

>>39
"fixed" by Guido in Python3000, along with you're sage

Name: Anonymous 2009-11-27 13:57

>>38
rofl learn to sage

Name: Anonymous 2009-12-13 13:55

We can adapt this into the RPG.

Name: Anonymous 2011-01-31 20:23

<-- check em dubz

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