I gave it my all
- Details: I used codecademy and also Mr. Miller’s own practice problems to practice recursion and loops. I also made the game Mr. Miller sent me to make.
while(True): print ("YOU ARE THE LEADER OF A FRENCH FUR TRADING EXPEDITION IN 1776 LEAVING THE LAKE ON TARID AREA TO SELL FURS AND GET SUPPLIES FOR THE NEXT YEAR. YOU HAVE A CHOICE OF THREE FORTS AT WHICH YOU MAY TRADE. THE COST OF SUPPLIES AND THE AMOUNT YOU RECEIVE FOR YOUR FURS WILL DEFEND ON THE FORT THAT YOU CHOOSE. DO YOU WISH TO TRADE FIRST?") n =input("YES or NO:") if n=='YES': break elif n=='NO': quit() else: continue print ("YOU HAVE $600 SAVINGS AND 190 FURS TO BEGIN THE EXPEDITION") print ("YOUR 190 FURS ARE DISTRIBUTED AMONG THE FOLLOWING KINDS OF PELTS: MINK, BEAVER, ERMINE AND FOX.") while(True): print ("HOW MANY MINK PELTS DO YOU HAVE?") a = input() if a.isdigit(): break else: continue while(True): print ("HOW MANY BEAVER PELTS DO YOU HAVE?") b = input() if b.isdigit(): break else: continue while(True): print ("HOW MANY ERMINE PELTS DO YOU HAVE?") c = input() if c.isdigit(): break else: continue while(True): print ("DO YOU WANT TO TRADE YOUR FURST AT FORT 1, FORT 2, OR FORT 3? FOR 1 IS FORT HOCHELEGA (MONTREAL) AND IS UNDER THE PROTECTION OF THE FRENCH ARMY. FORT 2 IS FOR STADONA (GEUBEC) AND IS UNDER THE PROTECTION OF THE FRENCH ARMY. HOWEVER, YOU MUST MAKE A PORTAGE AND CROSS THE LACHINE RAPIDS. FORT 3 IS FORT NEW YORK AND IS UNDER DUTCH CONTROL. YOU MUST CROSS THROUGHT IROQUOIS LAND.") d = input() if d == '1' or d == '2' or d == '3': break else: continue if d == "1": print ("SORRY, ONE OF THE FRENCH ARMY ON DUTY FOUND YOU AND SHOT YOU BEFORE TAKING ALL YOUR ITEMS. TRY AGAIN!") quit() if d == "2": print ("CONGRATULATIONS! YOU HAVE SUCCESSFULLY TRADED AND EARNED YOURSELF SO MUCH MONEY THAT YOU BECAME A BILLIONAIRE!! HAVE FUN LIVING AS THE SECOND BILL GATES :)") quit() if d == '3': print ("SORRY, YOU HAVE BEEN SHOT BY A DUTCH SOLDIER. TRY AGAIN!") quit()
- Goal reflection: Yes, i achieved my goal. My goal was to make a new game and to keep reviewing for the finals, and I made the game and did practice problems.
- Goal: Rather than starting a new game, I think it would be better for me to keep preparing for the exam. I will review some of the older practice problems and also keep studying recursion, because I didn’t fully master it yet.
- Your year: I was actually surprised that I would be able to improve from making more mistakes and finding things out. I thought that learning things from a book or a site, and further making a perfect game would be the best way to improve, but I realized that it was wrong. Now, I just start the game with whatever I have, make mistakes, and fix the mistakes. By making mistakes, I know what I don’t know and am able to fix them and also learn from them.