added game win logic and scoreboard