add logic to determine if someone won the game