added gamestate with win and lose notifications.