Project Main
Project Main
GROUP 4 PROJECT
Members Include :
The Text-Based Adventure Game project involves the development of an interactive narrative
experience where players navigate through a story by making choices. The game is implemented
using programming concepts such as conditional statements, loops, and basic game design
principles. This report outlines the project's objectives, design, implementation, and challenges
faced during the development process.
1. Introduction:
The aim of the Text-Based Adventure Game project is to create an engaging and io a nteractive
experience for players through a command-line interface. The game employs a branching narrative
structure, allowing players to make choices that influence the progression of the story.
2. Objectives:
3. Design:
4. Implementation:
4.3 Loops:
A loop structure is implemented to ensure a repetitive and interactive experience. This loop
continuously prompts the player for input, processes their choices, and updates the game state
accordingly.
5. Challenges:
6. Conclusion:
The Text-Based Adventure Game project successfully combines programming concepts with game
design principles to create an interactive and engaging experience. The implementation of
conditional statements, loops, and a well-designed user interface contributes to the project's success
in delivering a captivating text-based gaming experience.
7. Future Enhancements:
Potential future enhancements may include graphics or a graphical user interface (GUI) to expand
the game's visual appeal, audio integration for a more immersive experience, and the development
of more intricate storylines with increased decision complexity.
This project report provides a comprehensive overview of the Text-Based Adventure Game, from
its objectives and design to implementation and challenges faced during development.
#Game Setup
while True:
player_name = input("Enter your name: ")
#Sub Game Loop
player_age = int(input("Enter your age: "))
if player_age <=0:
print("You are ineligible to play this game")
elif player_age <18:
print("You are ineligible to play this game")
else:
print("Would you like to continue ?, (YES/NO)")
choice = input("> ")
if choice == "YES":
print("Hi ", player_name ,", Welcome to our First Text Based Adventure Game!")
player_sum = int(input("Enter the amount you would like to deposit: "))
print("CONGRATS, Your startup Bal is", player_sum,"$")
#Main Game Loop
while True:
print("Write CONTINUE to proceed")
Proceeding_compputation = input("> ")
#Scenerio 1
print("You found yourself at a CROSSROAD")
print("Would you go LEFT or RIGHT ?")
CrossRoadchoice = input("> ")
if CrossRoadchoice == "LEFT":
print("You venture along the LEFT path and encounter a River ")
print("There is a shipwreck Ahead and Pirhanas are over the place : <><
<>< ")
print("10 passengers are on board")
print("Rope 2$ WoodLog 4$ SmallBoat 10$")
while True:
#End of Game
print("GAMEOVER")
print("Do you want to Play again, (YES/NO) ?")
end_game_choice = input("> ")
if end_game_choice.lower() !="yes":
print("Thanks for Playing!")
break
1. Setup:
- Introduce the player to the setting and their character.
- Provide some background story or context to the adventure.
2. Scenarios:
- Create various scenarios or challenges for the player to navigate through.
- Each scenario should present the player with multiple choices.
3. Choices:
- Offer the player a set of choices at each scenario.
- Choices could include actions like exploring, interacting with objects or characters, fighting
enemies, solving puzzles, etc.
4. Consequences:
- Each choice made by the player should lead to consequences, affecting the outcome of the
game.
- Consequences could include gaining or losing health, acquiring items, unlocking new paths,
or progressing the story differently.
6. Endings:
- Design multiple possible endings based on the player's choices throughout the game.
- Endings could range from success to failure, with varying degrees of fulfillment or
consequences.
7. User Interface:
- Develop a user-friendly interface for displaying text, choices, and outcomes.
- Ensure the interface is easy to navigate and understand.
In conclusion, the development of our text-based adventure game holds immense potential for
captivating players with its immersive storytelling and interactive gameplay. By targeting the
growing audience of adventure game enthusiasts, we aim to deliver an unforgettable gaming
experience. We are excited to embark on this journey and bring our vision to life. Thank you for
considering our proposal, and we look forward to the opportunity to create an engaging and
thrilling adventure game