Added victory checking, game is now fully playable.