Assignment Report
Assignment Report
Jigar Tandel
Sheridan College
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:
Game Rules:
Program Structure:
Screenshots:
Welcome Screen
Challenge Example
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.