Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

do it using interface please We've been asked to help build an expansion pack for Sims s: Unitiersity Life. We're trying to figure ouc the

do it using interface please

image text in transcribed

We've been asked to help build an expansion pack for Sims s: Unitiersity Life. We're trying to figure ouc the gameplay mechanics, so we're starting with representations for sims students, behariors and places they can visic around the game world. The game will have 3 types of mode to represent behaviors: - study - Socialize - Exercise Study has a subject and whether it is examReview or not. Socialize has a descriotion and a count of friends to socialize with. Exercise has a name and whether it is aerobic or not. There are 3 types of place a student can visit: - Classrojin - 6ym - stidientcenter A classroom has a nane, roon-coapacity and the current occupant-count. The occupant count must be less than the room's capacity. A Gym has a name, a count of exercise-machines, the current count of its patrons as well as whether it is open or not. The number of patrons must be less than the number of exercise machines or zero if the gym is dosed. A studentcenter has a name and whether it is open or not. A sim-student has a name, mode and a location that is the ir currenc place, as well as a Sp/ and a major: A student's location must be Classroon if their gpa is less than 3 . 0 . If the ir mode is study then their location must be Classroom or studentcenter. Similarly, if their mode is Exercise, their location must be Gym. - Define 6 examples of place, induding: - shillman105: named "Shil2man 105 , capacity 115 occupants 86 - marino: Named Marino Recreation center , with 78 machings and 47 pattons. The gym is open. - curry: Named "curry student center and is dosed. The others can be whatever you wish. - Define four sin students that represent students in each mode and place. Name your examples student1, student 2 atc., and your examples dass Exampless inss. Weve placing a lat of restrictions What to submit You should submit your data definitions and examples in a file named sins. j ja Wa eapacity possible places, etc. Hon Remember to check the feedback in handins for Style and Checker rests in handins: In the code. The ways to enforce th conistraints will be further explore Later tin the semester for naw you expected to create examples that conform to these constraints

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions