A much better version

Created global variables . Still needed: score and content (the game
itself)