Basketball game

I don't understand  what's going on with my code. Where is the mistake
I've compared it to yours as closely as I can. Can you please point me
in the right direction.