Skip to content

webintellectual/treasurehuntproject

 
 

Repository files navigation

Treasure Hunt Game

A challenging multi-level puzzle game implemented in C, created as a first-semester IT project. Players must solve various puzzles and riddles to progress through different levels and find the treasure.

Game Features

  • Multiple challenging levels with unique puzzles
  • Password cracking challenges
  • Word puzzles and riddles
  • Visual feedback (Hangman-style graphics)
  • Three attempts per level
  • Progressive difficulty

Getting Started

Prerequisites

  • GCC compiler
  • Any C-compatible terminal or command prompt

Compilation Instructions

To compile the complete game with all levels:

# Compile the complete game
gcc final.c -o treasurehunt

For development or testing individual levels (optional):

# Compile individual levels
gcc ITProject.c -o level1        # Only Level 1 (Palindrome)
gcc level2mainV2.c -o level2    # Only Level 2 (Word Puzzles)
gcc encryption_level.c -o level3 # Only Level 3 (Encryption)

Running the Game

To play the complete game with all levels:

./treasurehunt

How to Play

  1. Level 1 - Password Challenge

    • Enter your Institute Roll Number
    • You need to enter a 7-character palindrome password
    • A palindrome reads the same forwards and backwards (e.g., "racecar")
    • You get 3 attempts to crack the password
  2. Level 2 - Word Puzzles

    • Round 1: Solve the number-word relationship puzzle
    • Round 2: Decrypt the cryptic message
    • Each round gives you 3 attempts
    • Watch out for the hangman - it progresses with each wrong answer!
  3. Additional Levels

    • More challenges await as you progress
    • Each level has unique puzzles and encryption challenges
    • Pay attention to the clues provided

Tips

  • Read all instructions carefully before attempting each level
  • Look for patterns in the puzzles
  • Make use of all available hints
  • Keep track of your remaining attempts

Project Structure

treasurehuntproject/
├── ITProject.c         # Level 1 implementation
├── level2mainV2.c     # Level 2 implementation
├── encryption_level.c  # Encryption challenge
├── final.c            # Final level/Complete game
└── README.md          # Project documentation

Contributing

This is a student project created for educational purposes. Feel free to fork and enhance it!

Authors

  • First Semester IT Students

License

This project is open source and available under the MIT License.

About

This is the repository of our first semester IT project made in C

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 100.0%