released invalidMoveAction() from iterating with the console