Added game control flow and score tracking