game and score functionality completed