100 likes | 177 Views
Data: Programming Design and Modularization IS 101Y/CMSC 101 Computational Thinking and Design Tuesday, September 24, 2013 Marie desJardins University of Maryland, Baltimore County. Semester Game. Basic scenario Player makes choices about how to allocate time in each of 15 weeks
E N D
Data: Programming Design and ModularizationIS 101Y/CMSC 101Computational Thinking and DesignTuesday, September 24, 2013Marie desJardinsUniversity of Maryland, Baltimore County
Semester Game • Basic scenario • Player makes choices about how to allocate time in each of 15 weeks • Game simulates outcomes • Possible choices for outcomes • Happiness • Grades • Wealth • Possible choices for time (for 168 total hrs/wk) • ???
Choices: How Time is Spent • Eating/drinking, sleeping/zoning out, exercise, showering, laundry • Zombie apocalypse, socializing (real or online), participating in clubs, video games, surfing the web, partying, music • Studying alone, homework • Study group • Office hours / tutoring • Going to class – listening actively/learning, texting/sleeping/facebooking • Working (for $) • Commuting
Project Choices • Made once: • number of credits of classes • number of hours worked at a job • Made weekly: • hours spent attending class • percentage of class spent actively participating • hours spent studying and working on assignments • hours spent participating in study groups • hours spent on visits to academic resources • hours spent on taking care of yourself (sleep, food, exercise...) • hours spent on solitary leisure activities • hours spent on nonacademic activities with other people
Modeling Exercise 1 • In your group, discuss the following choice: • Hours spent studying and working on assignments by yourself • For this choice, • Specify a reasonable range (might depend on number of credits taken this semester) • Model the effect on each outcome with a mathematical rule • E.g. “for each hour spent over 100, happiness goes down by 5%” or “for each hour spent, grades go up by 50%” • Be prepared to share your model and argue why it is superior to other models.
Modeling Exercise 2 • With your group, discuss the two choices in the game that are assigned to your group • For these choices, • Specify a reasonable range (might depend on other variables) • Model the effect on each outcome with an equation • Look at the initial rule for inspiration, but don’t be bound by it • Be prepared to report out your model and argue why it is superior to the initial rule
Semester Project • Highlights • Implement the Semester Game in Processing • Five deliverables • To be completed with your project team • Individual contributions and grading • We’ll be working on some pieces of the project in class • We started today • I’ll post the final version of the game rules on the online schedule