Win condition logic

Currently just throws an alert with the player who won.