Added two ending conditions, a win and a lose. Either way, game over.