Question: For this project, you will design a simple game program, involving ( a ) the business objects that stores one or more characters in a
For this project, you will design a simple game program, involving a the business objects that stores one or more characters in a list, b the database tier that can read and write the character data fromto the txt file, c the presentation tier to interact with users as partially shown below.
Please follow the threetier architecture to design this program. Refer to Week for details.
Requirement:
Submission requirement:
Groupbased submission
Submit your codes on Canvas. You need to upload your three XXpy files. Please name your files with your two initials followed by gameObjects, gameDataBase, and gameUI for example, XXgameObjects.py
Define functions as needed. Please add useful comments block comments or inline comments to improve code readability.
Your grade will be calculated based on the following total points:
Running without error: pts
Your source codes MUST run successfully without error. There is no partial credit available here, either your codes work or they dont
Execution: pts
Your program will be tested based on the test cases, as shown in presentation tier below. You can earn partial credit here if your program doesnt work for every single case or scenario.
Style: pts
Each program will also be graded on its style. This includes things like using functions and classes pts using meaningful variable names pts useful comments pts and proper indentation and spacing pts All of these things make your code easy to read and maintain. Partial credit will be available here. As a minimum, your code should have a comment at the beginning with your group info and a high level but still descriptive overview of what the program does.
bUSINESS TIER
Implement the business objects Business tier
Note that for CharacterList class, feel free to modify or customize some methods eg getCharacter or getCharacterName methods
DATABASE TIER
Implement the database tier Databasetier
Presentation tier
Implement the user interface and test it Presentation tier
Write the code that implements the user interface XXgameUIpy When youre done, it should look something like those shown in the test cases.
Make sure to upload if any and save your characters at the beginning and the end of the program respectively.
Test cases: ProjectOODTestCases.pdf
Actions
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
