made the num_moves reset each time the program is opened, removed wait