implemented victory conditions, game is now winnable