Added game logic to decide winner and scoreboard
Added game logic to decide winner and scoreboard