Trying to make a basic Python score counter in a game... will not count.

Kwpolska kwpolska at gmail.com
Sun Dec 16 18:09:53 CET 2012


On Sun, Dec 16, 2012 at 6:00 PM, Darrien Glasser
<darrienglasser at gmail.com> wrote:
> Hey guys, I'm working on a Python rock paper scissors (lizard spock) game, and the beginning is complete. After I finished it, I thought, "You know what? I think I can make this even better, and add a score counter." And so I did.
>
> The problem is that it doesn't seem to actually keep track of score. In fact it always keeps the score at 0 for both players. It's fully functional otherwise, but it's bothering me that I can't get it to work.
>
> Currently using Windows Python 32 bit v2.6.8
>
> Download of the code here:
>
> https://www.box.com/s/2lupxeyk5jvsxs0zkdfb
>
> Copy of the code here:
>
> http://pastebin.com/MNdgiuSY
>
> Thanks in advance for your help...
> --
> http://mail.python.org/mailman/listinfo/python-list

winx = winx + 1
winy = winy + 1

PS. please do not use pastebin.com.
-- 
Kwpolska <http://kwpolska.tk>
stop html mail      | always bottom-post
www.asciiribbon.org | www.netmeister.org/news/learn2quote.html
GPG KEY: 5EAAEA16



More information about the Python-list mailing list