[BangPypers] [fsug-tvm] Re: Guess me python game
ashok raavi
ashok.raavi at gmail.com
Fri Oct 16 09:04:48 CEST 2009
On Fri, Oct 16, 2009 at 12:09 PM, Anand Balachandran Pillai <
abpillai at gmail.com> wrote:
>
>
> On Thu, Oct 15, 2009 at 1:58 PM, Aneesh A <aneesh.nl at gmail.com> wrote:
>
>> Find the new edition with some bug fixes and enhancements
>> 2009-10-15 Aneesh <aneesh.nl at gmail.com>
>>
>> * Added clearscreen function.
>> * Fixed : Once the high scores are cleared and tried to view the high
>> scores,
>> the IO error is shown.
>> * Added Copying
>> * Fixed : After clearing the high scores, and playing the game for a
>> win.No highscores is shown.
>> * Removed GNU/Linux specific code. Now multi platform.
>>
>
> Not bad at all.. Btw I suggest these fixes in next version.
>
> 1. Don't print the number on the screen before play starts :D
> 2. Give a range of numbers or the maximum number. It looks like
> 100, but you are not telling.
>
> Once you get it correct, I suggest you learn pyglet to do it
> as a "real game". There was a nice presentation of pyglet in
> PyCon India, which you can use as a guide.
>
line 116,
highscore = [score, name, i + 1, getlevel(chance)]
has to be
highscore = [score, name, i, getlevel(chance)]
you are increasing the chance even when the guess the correct.
>
>
>>
>> --
>> +91 903 755 72 73
>>
>> For all hardware and software services, Computer assembling, Software
>> Installation etc.
>> My blog : http://xtenders.blogspot.com/
>>
>> _______________________________________________
>> BangPypers mailing list
>> BangPypers at python.org
>> http://mail.python.org/mailman/listinfo/bangpypers
>>
>>
>
>
> --
> --Anand
>
>
>
>
> _______________________________________________
> BangPypers mailing list
> BangPypers at python.org
> http://mail.python.org/mailman/listinfo/bangpypers
>
>
--
ashok raavi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/bangpypers/attachments/20091016/c30900c1/attachment-0001.htm>
More information about the BangPypers
mailing list