After confirming that my Console Controller was implemented as I intended, I attempted to run the GUIController. However, I found that the first stool was filled with the desired number of cheeses, but the cheeses could not be selected. I then spent almost 2 to 3 hours looking through the code of the GUIController to see which line of the code the problem was on and searching through the piazza forums to see if someone encountered a similar problem. I eventually realized that the problem occurred when cheese_location was called. I had not noticed the error I made when coding cheese_location, as the examples I used incidentally resulted in the correct expected output based on the mis-programming. I returned to my TOAHModel and corrected the implementation of cheese_location and was capable of playing on GUIController with any number of cheeses without experiencing problems.
After that one road bump, I moved onto the implementation of tour_of_four_stools. I looked back at the first two pages of the Assignment 1 handout and analyzed the instructions that explained the steps to correctly and efficiently move any number of cheeses on the first stool to the last stool on any four stool problem. I realized that i was the ceiling of n divided by 2 after sifting through the forums and considering different number of cheeses using the formula provided. I solved the four stools problem using three to eight cheeses to see that I could properly move the cheeses to the other side in the least amount of moves. I reviewed the solution that Danny provided us for the three stools problem and realized that I should use a similar approach to implement the code for the solution to the four stools. After writing a recursive function strictly using four stools to move the cheeses, I realized that I had to use the three stools solution in the second step of the four stools code. I then analyzed the individual steps the function would execute using the python visualizer, and understood which stool was to be which intermediate stool, as there was only 1 correct combination.
I moved onto the last 8% of the assignment and changed the code to move the cheeses on both the three stools and the four stools to offer a choice to print the string representation of the stools for each move with a user specified time delay. After modifying the original move_cheeses to offer animation and time delay, I simply called the move_cheeses for the four stools and ensured that the animation and the time delay worked as intended. I was then finished, and handed the assignment in after confirmation that everything worked as I expected.