0% found this document useful (0 votes)
47 views4 pages

Assignment Report

The document summarizes a text-based adventure game created for an assignment where players assume the role of either the Explorer or the Knight on a quest to defeat the dragon Drakonar. The game involves three challenges testing the player's attributes of strength, intelligence, and agility. It outlines the background story, roles, challenges, rules, program structure, screenshots, development experience, and potential future improvements.

Uploaded by

ACE 2111
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
47 views4 pages

Assignment Report

The document summarizes a text-based adventure game created for an assignment where players assume the role of either the Explorer or the Knight on a quest to defeat the dragon Drakonar. The game involves three challenges testing the player's attributes of strength, intelligence, and agility. It outlines the background story, roles, challenges, rules, program structure, screenshots, development experience, and potential future improvements.

Uploaded by

ACE 2111
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

Text-Based Adventure Game Assignment Report

Jigar Tandel

Sheridan College

PROG 10004: Programming Principles

Shalini Jaspal Singh

October 2nd, 2023


Abstract:

This report presents the development and description of a text-based adventure game set in the
fictional land of Eldoria. The game offers players the choice of two roles, the Explorer and the
Knight, each with distinct attributes and abilities. The quest involves facing three challenges,
each testing different aspects of the chosen role. The report outlines the game's background story,
roles, quest, rules, program structure, and development experience. Additionally, it provides
screenshots of key game moments and discusses potential future improvements.

Introduction:

In the land of Eldoria, a menacing dragon named Drakonar has been terrorizing villages,
prompting the King to call for heroes. This report details the creation of a text-based adventure
game where players assume the roles of the Explorer or the Knight. Their mission is to embark
on a quest comprising three challenges, each challenging different attributes of their chosen role.
This report outlines the game's design, development, and gameplay experience.

Background Story:

Eldoria, a mystical realm, faces imminent peril from the dreaded dragon, Drakonar. To combat
this menace, the King seeks the aid of two valiant heroes:
 The Explorer: A cunning and agile traveler known for outsmarting opponents.
 The Knight: A courageous and robust warrior celebrated for unparalleled strength in
battle.
Their mission is to confront the fearsome dragon, Drakonar, by undertaking three demanding
trials, each designed to assess their unique abilities.

Roles:

1. The Explorer
 Attributes:
 Health: 10
 Strength: -1
 Dexterity: +2
 Intelligence: +1
2. The Knight
 Attributes:
 Health: 10
 Strength: +2
 Dexterity: +1
 Intelligence: -1
The Quest:

The quest consists of three challenges:


1. Slay the Dragon: A test of physical strength.
2. Outsmart the Dragon: A challenge demanding wit and intelligence.
3. Dodge the Dragon's Attacks: A trial assessing agility and reflexes.

Game Rules:

1. Players select their role as the Explorer or the Knight.


2. Challenges are faced sequentially, starting with "Slay the Dragon."
3. For each challenge:
 Players roll two six-sided dice to determine the outcome.
 Possible outcomes are "Critical Loss," "Loss," "Win," or "Critical Win" based on
the dice roll.
 Attributes are modified based on the outcome.
 Current attributes are displayed after each challenge.
4. If a player's health falls to 0 or below, the game concludes.
5. Completing all three challenges with positive health leads to victory.

Program Structure:

The program employs modularization with separate modules:


 app.py: The entry point, handling user input and game flow.
 main_game.py: Housing the main game loop, challenge outcomes, and role choice
validation.
 explorer.py: Defining attributes and functions specific to the Explorer role.
 knight.py: Defining attributes and functions specific to the Knight role.

Screenshots:

Welcome Screen

Challenge Example

Game Over Message

Development Experience:
 Role Separation: Initial challenges in organizing code with role-specific files were
overcome to enhance code organization and readability.
 Challenge Logic: Implementing challenge outcomes based on dice rolls necessitated
careful consideration and testing.
 Validation: Ensuring robust input validation and error handling was vital during
development.

Future Improvements:

 More Challenges: Expanding the game with additional diverse challenges to enhance
gameplay.
 Multiple Endings: Introducing varied endings based on player choices for enhanced
replay ability.
 Graphics: Incorporating simple ASCII art or graphics to improve visual appeal.
 Difficulty Levels: Implementing different difficulty levels to accommodate various
player skill levels.

Conclusion:

The text-based adventure game offers an engaging and immersive experience for players as they
navigate the challenges of Eldoria. With future enhancements, it promises even greater depth and
excitement.

You might also like