First BGE Attempt: What Went Wrong?

I decided to learn how to use the BGE, so I started following this tutorial series:

http://blender.freemovies.co.uk/introduction-to-the-game-engine-making-a-simple-ball-game/

Everything was going fine until I tried to add the python scripting for keeping score (3rd video). For some reason, my game doesn’t record the score. I’ve followed the tutorial exactly and redid all the steps to add the scripting, but still nothing.

Can someone please look at my file and see if you can tell me what I did wrong?

http://www.pasteall.org/blend/41641

ok, you made a typo :wink:

line 17:
if not ‘score’ in bge.logic.globalDict:

you got a property with capital S and in the script you refer to lower s.
and you are tracking the Capital version, so change to property to lower s and it works.

Okay, I fixed it. Thank you!