Preimplementation of no more moves function (not working).