View this PageEdit this PageAttachments to this PageHistory of this PageHomeRecent ChangesSearch the SwikiHelp Guide
Hotspots: Admin Pages | Turn-in Site |
Current Links: Case Final Project Summer 2007

Milestone 7 UI Implementation

M7 Requirements

Goals:
-Finish the game! Integrate all code with the user interface, and make sure everything runs smoothly.
How We Accomplished Those Goals:
-One of the main problems that we fixed from M6 to M7 was getting things to update correctly (immediately). In order to accomplish this, we used a lot of "self changed: #[something]" statements. One specific instance of this usage is in the storeApp where we use "self changed: #itemsForSale" and "self changed: #itemsInWagon" to clearly update what is going on in the Wagon and the for sale list:

-This very same issue keeping our members from updating but we fixed it the same way. We successfully implemented hunting and trading into our mainAppModel window as well. The hunting is a basic random number button (based on the system clock) which may or may not yield food when pressed. We also added a lot of pictures to jazz things up a bit. The map even changes as you progress through the game (it simply changes based on distanceTravelled):

Advice:
-Never Give up and never surrender! If you've made it to M7 roughly in one piece, just keep pacing yourself. Try to tackle problems early on so they don't multiply (like how our updating issue did with us).
-Consider using a Wagon Singleton like we did. Though it can be tricky remembering to not re-initialize the Wagon sometimes, having a Singleton with all the data in it can be helpful when it's time to get data. You know that it's going to be in the Wagon! Anyway, thanks for reading. Menfinity-- We. Are. Forever. Men.



Link to this Page