Added simple victory/loss checking