代写CITX1401 – Computational Thinking with Python Project代做Python语言
- 首页 >> Java编程CITX1401
Computational Thinking with Python Project
Project description:
The project task is to design and implement a Python 3 program that meets the requirements below. All Python source code files for the program should be submitted to the LMS.
You will also need to submit a document file detailing your planning and design.
Please note that this is an individual project.
You are expected to have read and understood the University’s guidelines on academic integrity. In accordance with this policy, you may discuss with other students the general principles required to understand this project, but the work you submit must be the result of your own effort. Plagiarism detection, and other systems for detecting potential malpractice, will therefore be used.
You may be asked to demonstrate your code or explain your design in a short interview. If you cannot sufficiently explain your work or answer questions on how your code works in detail, marks will be deducted from those sections.
Assignment: Text-Based Adventure Game
Description:
Create an interactive text-based adventure game using Python. Your game should immerse players in a captivating story where their choices shape the outcome. This assignment will test your understanding of Python programming concepts and challenge your creativity.
The game must meet all of the following basic requirements:
• Display text that describes what is happening in the game.
• Display a menu that shows choices for what actions the player can take.
• Read user input to allow the player to select those actions.
• Each choice/action should lead to a different consequence, branching the story in various directions.
• The story should be short and creative with a beginning, middle and end.
• Aim for at least ten meaningful decision points throughout the game. (Start small)
The game must meet at least one of the following advanced requirements.
• The ability to collect keys or similar items to pass through a locked door or other impassable section.
• The ability to fight multiple monsters or defeat enemies by tracking numbers such as HP and Damage.
• The ability to view a map of the game that shows your current location.
The game should also allow the player to save their current progress to a file at any time.
The player should be able to load their progress from a file at any time.
Detailed Requirements / Marking Criteria
1. Design / Planning (30):
1.1 Storyline Development (10 marks):
• Devise an original and engaging storyline for your game.
• Choose a setting (fantasy, sci-fi, historical, etc.) that fits the theme of your adventure.
• Outline the basic story / structure in your design documentation.
1.2 Documentation (20 marks):
• Include a brief overview of your game's concept and theme.
• Include a brief design for the story of your game.
• Include a design of the code used in your game. This should include:
o Pseudocode and/or diagrams showing the structure of the program’s code.
o Pseudocode and/or diagrams showing any important algorithms used in the program’s code.
o The design should be logical and clear.
o The design should predate the code and NOT contain python specific language / symbols.
2. Functionality (50):
2.1 Basic Requirements (10 marks):
• Display text that describes what is happening in the game.
• Display a menu that shows choices for what actions the player can take.
• Read user input to allow the player to select those actions.
• Each choice/action should lead to a different consequence, branching the story in various directions.
• The story should be short and creative with a beginning, middle and end.
• Aim for at least ten meaningful decision points throughout the game. (Start small)
2.2 Advanced Requirements (10 marks):
Choose at least one of the following:
• The ability to collect keys or similar items to pass through a locked door or other impassable section.
• The ability to fight multiple monsters or defeat enemies by tracking numbers such as HP and Damage.
• The ability to view a map of the game that shows your current location.
2.3 File IO (5 marks):
• The game should also allow the player to save their current progress to a file at any time.
• The player should be able to load their progress from a file at any time.
2.4 Functions and Modularity (10 marks):
• Implement functions and modules to organize your code.
• Use functions to handle repetitive tasks, such as displaying text and gathering user input.
• Functions should handle parameters and returns correctly.
• Place your functions in well-structured modules.
2.5 Control Structures and Data Structures (10 marks):
• Use conditional statements to determine the outcomes based on player choices.
• Incorporate loops to allow players to explore different locations or revisit scenes.
• Use Lists or Dictionaries to track progress or items the player has collected.
2.6 Error Handling (5 marks):
• Implement basic error handling for unexpected inputs.
• Use exception handling where appropriate.
3. Code Quality (20):
3.1 Readability, Structure and Efficiency (20 marks):
• Comment your code using # to explain complex sections or decision-making logic.
• All identifiers (variables and functions) should be named appropriately.
• Make sure your code is readable and clear.
• Code should be efficient and use functions wherever possible.
• No global variables – All variables should be initialised inside functions.
4. Bonus (5)
3.2 Extra Features (5 marks):
Additional advanced features that significantly improve the game (e.g. graphics, mouse support, advanced/complex gameplay mechanics) may be worth up to 5 bonus marks.
These bonus marks will not increase the marks for this project above 100.