Skip to content

Santhusha-bit/TheCarnivalMystery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

The Carnival Mystery - A C++ Adventure Game

Welcome to The Carnival Mystery, a C++ text-based adventure game where you help a girl named Liza recover her stolen diamond ring at a carnival! Explore booths, enjoy rides, collect clues, and solve the mystery — all while managing your points.

Carnival Game Map


Story

Liza is a girl who came to a carnival, only to discover that her ring has gone missing. The ring holds a priceless diamond, and rumor has it that the thief is still lurking somewhere within the carnival grounds. You, the player, must navigate through various attractions to collect tokens, products, and clues that will lead you to the thief — and Liza's ring — before it's too late.


How to Play

  • Begin your adventure with 50 points.
  • Visit Game Booths to win tokens and earn extra points.
  • Visit Food Stands to buy products. After buying 2, 4, and 5 products, you’ll collect 3 different clues.
  • Enjoy Rides for fun and potential point boosts, but beware of breakdowns.
  • Your final goal is to:
    • Collect 5 products from food stands (with at least 3 different types),
    • Obtain all 3 clues,
    • Finish with at least 100 points to successfully solve the mystery.

You cannot backtrack — plan your choices carefully.


Features

  • Mini number-guessing game booths
  • Food stalls that unlock clues
  • Carnival rides with random events and emergency contact scenarios
  • Points system to track progress and determine win condition
  • Mystery-solving with progressive story elements

How to Compile & Run

Make sure you have a C++ compiler (like g++) installed.

  1. Open your terminal.
  2. Navigate to the directory containing TheCarnivalMystery.cpp.
  3. Compile:
g++ TheCarnivalMystery.cpp -o TheCarnivalMystery
  1. Run:
./TheCarnivalMystery

Winning Criteria

To win the game, you must:

  • Collect all 3 clues
  • Buy 5 products
  • End with at least 100 points

Author

  • Santhusha Mudannayaka
  • Project for interactive storytelling and game design using object-oriented programming in C++

License

This project is for educational purposes. Modify and expand it to suit your creativity!


🎉 Good luck solving The Carnival Mystery!

About

The Carnival Mystery** is a C++ text-based adventure game where you help a girl recover her stolen ring by exploring a carnival, collecting clues, and solving the mystery.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages