Removed nextMove() method as not needed.