A log of Jordan's Efforts on the Project Week 2: 9 hrs 4/11/10: Worked 4 hrs (18:30-22:30) 18:30-18:45: D Added questions file with things to be asked. Modified comments in existing code. Formatted code to fit the four spaces standard. 18:45-19:00: P Created Time Log. Tried to understand group 0's UML/Predicates. Committed modifications/new files to SVN. 19:00-19:15 P Moved code to Project folder Informed group of updates 19:15-19:30 H Reviewed present state of code w/ group Made battle plan for rest of evening ~Working with Terian, few individual svn updates for rest of night~ 19:30-19:45 C Reviewing/Updating and creating Predicates Adjusting Creature/Species classes 19:45-20:00 P Discuss Changes to Rule class 20:00-20:40 E Realzied we cannot use other group's predicates until we update UML diagram 20:40-21:00 E Worked as whole group to try to understand multidimensional arrays for localworld.py 21:40-22:00 R Figured out how multi-dimensional arrays work 22:00-22:20 C Implemented multi-dimensional arrays in localworld. 4/12/10: Worked 1.5 hrs (17:30-19:00) 5:30: E Reviewed present state of code. I explain things. 5:50: C Implementing/updating group 0 Predicates w/o dictionaries 6:25: C Finished working on QuantityPredicate for now, started working on LogicPredicate. 6:45: C Finished working on Predicates for now. Note: need to rework them, in particular the toString method and comments (i.e. lack thereof) 4/13/10: Worked 30mins 12:50-1:20 T Updated localworld to use __str__ instead of toString, and changed the testclass to use this as well. Planning unit tests to implement in testclass. 4/14/10: Worked 3 hrs 7:00-7:15 T Created TestPlan for LocalWorld 7:15-7:30 C Got __str__ working and printing a grid in LocalWorld 7:30-7:45 T/C Implemented Tests for LocalWorld 7:45-8:00 T/C Implemented Tests 8:00-8:30 H Meeting with Ravi and Nathan about ConflictResolution 8:30-8:40: H ConflictResolution 8:40-8:50 P Talked with group. Other people began working on a TUI. Discussed instructions class, decided it should exist, though with location rather than direction 8:50-9:20: D Attempted to integrate localworld with creature, species 9:20-9:30: D After breaking a number of things while working on my own, decided to work in pair with Terian, looking at localworld 9:30-9:40: C Worked on step method of localworld 9:40-9:45: D Got step working 9:45-10:00: T Tested various interactions between localworld and other classes ========================== New Groups: Model ================================================ Total Hours: (10.75 hrs) 4/17/10: (3.25hrs) 1:30 - 3:30 Worked on Merging the Group 0 code with Group 1 code with Jesse. Produced the new folder Model. 3:30 - 4:45 Debugged Model using Test.py. 1.5 hrs of syntax errors... thanks Group 0. 4/18/10: (.5 hrs) 9:45-10:15 Debugging testing with Jesse 4/19/10: (2 hrs) 8:00 Started debugging and testing. 10:00 Model is "functioning" for now, except for toroidal wrapping. We need to look into properties for board. 4/20/10: (3 hrs) 7-7:30 Discussed communication between GUI and model with Dylan 7:30-8: Implemented Toroids-everythings call set/getSpecies, passing world instead of board to holds() 8-10: Unit Tests for LocalWorld 4/22/10: (2 hrs): 11-12: Unit Tests (Predicates) for LocalWorld 12-1: Implemented save_the_world() ----------------GUI-------------------------------------------------------- Total: 11 hrs 4/24/10: 2-5: Met with group and reviewed existing code. Got up to date on tkinter and event handlers. 4/25/10: 8-10: Met with Josh, reviewed code. Worked on implementing destroyParent, buttonCreator, and function callbacks. 4/28/10: 4-5: Worked on Menu and BoardScreen 6-11: Worked on BoardSetup and BoardScreen (Implemented everything in these two methods apart from board representation) GUI Week 2 Total: 12 hrs 5/3/10: (4.5 hrs) 6:30-7 Cleaned up code 7-7:30 Debugging 7:30-8 Helped Terian with Code 8-8:30 Explained Code status to Aaron 8:30-9 Tried to implement labels for the Grid 9-9:30 Discovered canvas! and rectangles! 9:30-10 Initialization of rectangle grid 10-10:30 Figured out how canvas objects are accessed 10:30-11 Got Canvas Color clicking to work 5/4/10: (2.5 hrs) 6:00-6:20 Cleaned up Code in screenTest 6:20-6:50 Fixed packing so the board displays correctly 6:50-7:00 Made To-Do list of things to do this week (most depend on Model to do things) 7:00-7:30 Attempted to Make Step, Stop, and Play buttons work correctly 8:00-8:15 Got Step, Stop, and Play buttons working correctly by eliminating radio button functionality 8:15-9:00 Attempted to help Jesse get scrollbuttons and zoom working properly.. no luck 5/5/10: (5 hrs) 6:30-7:00 Converted model/Test2 to Test.test 7:00-7:30 Changed BoardSetup to use speciesdatabase and localworld 7:30-8:00 Changed BoardScreen to use " " 8:00-8:30 Debugged Scrollbar issues 8:30-9:00 Added conflict resolution policy to the GUI 9:00-9:30 Adding various fixes to code and tests 9:30-10:00 Debugging 10:00-10:30 Got Test.test working 10:30-11:00 Working on Conway in Test.test2 <- Ravi was here 11:00-11:30 Made Conway Example work TODO: zooming network with gui -display server message add more examples change species to have a player color as well add 'preferences' on menu easy: add 'about' on menu ============================= Add CreateSpecies to GUI ====================================== Total hrs: 5/9/10: (1 hr) 3:30 - 4:00 Converted Species Database to contain the Strength Dictionary instead of Conflict Resolution Policy 4:00 - 4:30 Changed all dependencies of old LocalWorld init and ConflictResolution Policy to new version 5/11/10: (2 hrs) 7-8 Worked with Terian to debug most recent changes to Species Manager 8-9 Designed and helped Terian implement Rule Editor 5/12/10: 6-7 Edited SpeciesSetup so that changes to already existing species will be saved 7-7:30: Added strength pairings to Manager 7:30-8: Replaced StrengthDictionary key tuples to be tuples of species rather than strings 8-9 Added working instructions 9-9:30 Fixed obscure load/save/cancel bug on new Species 9:30-10 Added getDirection method to Direction 10-10:30 Discussed how to add predicates with Terian and Josh 10:30-11 Fixed Packing problems in RuleEditor