0% found this document useful (0 votes)
78 views

Assignment 201110

This programming assignment accounts for 30% of the student's coursework marks and involves creating a choose-your-own-adventure game in C programming language. Students must work in groups of 4-5 people. The game must have at least 8 scenarios with at least 2 selections in each, 5 alternate endings, and the ability to restart or replay the game. Documentation of the program logic and design is required using IPO charts, pseudocode, and flowcharts. Additional marks are awarded for using functions, data validation, and an optional mini-game.

Uploaded by

Mingyau Lee
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
78 views

Assignment 201110

This programming assignment accounts for 30% of the student's coursework marks and involves creating a choose-your-own-adventure game in C programming language. Students must work in groups of 4-5 people. The game must have at least 8 scenarios with at least 2 selections in each, 5 alternate endings, and the ability to restart or replay the game. Documentation of the program logic and design is required using IPO charts, pseudocode, and flowcharts. Additional marks are awarded for using functions, data validation, and an optional mini-game.

Uploaded by

Mingyau Lee
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 5

FHCT1022 Programming Concept Assignment This programming assignment accounted 30% of your entire coursework marks in this trimester.

There are several guidelines you are required to observe: Submission Date: Friday, 9th December 2011 (Week 12) before 2.00pm Assignment Mode: Group work. 4 - 5 persons in a group. Binding: Simple staple binding. No need to tape the side of the assignment. Plagiarism: any discovered attempt in plagiarism will result 0% for all assignments. 5. Late Submission: 10% of the entire assignment marks will be deducted each day. 1. 2. 3. 4. In this assignment, you are requiring to: Format: Cover Page (Please download from WBLE) Table of Content IPO Chart Pseudocode Flowchart Screenshots Sourcecode (softcopy) Apply the knowledge that you had learned in this course. Explore and learn control structure. Understand the inner working for the program. Outline the program logic using IPO Chart, Pseudocode and Flowchart. Using C Programming language for the program.

*Students are required to submit both Softcopy (burn into CD/DVD) of report + project source code and Hardcopy of your report to your instructor.

Question:
You are required to create a simple choose-your-own-adventure game. Your game should start with a simple background story briefing:

Your game should then begin with the first scenario/situation. Your game should fulfill the following requirements: 1. 2. 3. 4. 5. At least 8 scenarios/situations (if your scenario have only 2 selections) At least 2 selections in each scenario At least 5 alternate endings (including failed/game over) Able to restart the game in case the player failed to reach the ending Able to replay the game in case the player reach the ending.

Screen shots:

Players are allowed to choose a few options

Player is choosing the options

Game over scene (failed to reach the ending)

Successfully finished the game (bad ending)

Successfully finished the game (good ending)

Grading:
1. Documentation will be 20% of your grade. Do you provide the content of the program through IPO chart, pseudocode and flowchart with proper naming? Are the identifiers meaningful? Did you follow the aforementioned format of the paperwork? 2. Correctness will be 25% of your grade. Does your game run properly? Will the player be able to finish the game without any abrupt termination of the game? Did your game fulfill all the aforementioned requirements? 3. Source format will be 10% of your grade. Is the indentation consistent? Have blank lines been used so that the program is easy to read? Is the use of capitalization consistent? Are there any lines of source that are longer than 80 characters (i.e., wrap around the screen)? 4. Quality of solution will be 25% of your grade. Do you improvise your game? Do you show creativity in your game?
Note: If your report fulfills all requirements state above, you can get a maximum mark of 80 marks. In order to get higher mark, you might want to consider doing the bonus section.

Additional Marks:
1. Using self-define function will be 10% of your grade. (hint: Your program can include some self-define function to get selection from the player) 2. Data validation will be 5% of your grade. When the player key in wrong selection, your program should be able to identify it and prompt the player to key in the correct selection.

3. Optional game will be 5% of your grade. If your program provides any additional mini game, it will contribute 5% of marks. Your mini game need to make use of the rand() function, which will generate random numbers.

You might also like