try to foresee game ending, still not too great