About the Project: Cipher Quest

Cipher Quest is an interactive puzzle game designed to challenge players' logical thinking, problem-solving abilities, and coding skills. The game combines elements of cryptography and escape room-style puzzles, where players are tasked with solving increasingly difficult challenges to unlock hidden messages and progress through various levels. Inspired by classic puzzles, the game brings together coding, cryptography, and teamwork in a fun and educational experience.

Inspiration

The inspiration for Cipher Quest came from the desire to create a puzzle game that not only challenges players but also teaches them fundamental concepts of encryption, logic, and algorithm design. We were inspired by cryptography, classic riddles, and escape rooms that require collaborative problem-solving skills.

What We Learned

Throughout the development of Cipher Quest, we learned several valuable lessons:

  • Game Design: Balancing puzzle difficulty to ensure the game is challenging but not frustrating.
  • Cryptographic Algorithms: Implementing ciphers like the Caesar cipher and others to encode and decode messages.
  • Backend Development: Using Flask and Python to manage the game logic and integrate with a database for player progress tracking.
  • Frontend Design: Creating a sleek, user-friendly interface that enhances the player experience.
  • Collaboration: Working together to develop and test the game mechanics, ensuring they are both fun and educational.

How We Built It

We built Cipher Quest using a combination of technologies and tools:

  • Frontend: HTML, CSS, and JavaScript to create an interactive and visually appealing user interface.
  • Backend: Python with Flask to handle the logic, including puzzle generation, encryption algorithms, and user progress tracking.
  • Database: SQLite to store user data such as current progress, completed puzzles, and scores.
  • Hosting: Deployed the game using Heroku for easy accessibility and testing.

Challenges We Faced

  • Puzzle Balancing: Designing puzzles that are neither too easy nor too difficult.
  • Cryptography Implementation: Ensuring the encryption algorithms worked seamlessly across different puzzle types.
  • Real-Time Feedback: Building a feedback system that gives instant results on user inputs while maintaining accuracy.
  • User Interface: Creating an intuitive UI that makes the game accessible to players with varying levels of experience.

Final Thoughts

Cipher Quest successfully merges coding and cryptography with a fun, engaging gameplay experience. We’re excited about how it can be used in hackathons, coding challenges, or even as a tool to introduce beginners to the world of cryptography. This project allowed us to blend creative problem-solving with technical skills, and we look forward to expanding the game with more challenges and features in the future.

Built With

  • a
  • and
  • and-connect-the-frontend-with-the-backend.-**bootstrap**:-for-responsive-ui-design
  • and-handling-user-data.-**html**:-for-structuring-the-web-pages-and-displaying-the-content.-**css**:-for-styling-the-game-interface-and-making-it-visually-appealing.-**javascript**:-for-interactivity
  • and-other-game-related-information.-**cloud-services-&-hosting:**-**heroku**:-used-for-deploying-the-game
  • and-tracking-progress.-**cryptographic-algorithms**:-custom-algorithms-for-puzzles-like-caesar-cipher
  • built-with**-**languages:**-**python**:-used-for-backend-logic
  • deploying
  • ensuring-the-game-looks-good-on-all-devices.-**databases:**-**sqlite**:-a-lightweight-database-for-storing-user-progress
  • etc.-**other-tools-and-technologies:**-**github**:-for-version-control-and-collaboration
  • game
  • gameplay
  • hosting-the-source-code-repository.-**vs-code**:-integrated-development-environment-(ide)-used-for-writing-and-editing-code.-**postman**:-for-testing-api-endpoints-during-development.-this-tech-stack-provides-a-solid-foundation-for-building
  • images
  • implementing-cryptographic-algorithms
  • including-handling-user-inputs-and-providing-dynamic-content.-**frameworks:**-**flask**:-a-lightweight-python-web-framework-used-to-handle-backend-logic
  • interactive
  • making-it-easily-accessible-online.-**aws-s3**:-for-storing-any-game-assets
  • manage-routes
  • or-additional-content-that-the-app-requires-(optional).-**apis:**-**flask-api**:-custom-built-api-used-for-managing-user-interactions-with-the-game
  • puzzle-based
  • puzzle-data
  • scaling
  • smooth
  • user
  • validating-answers
  • vigenere-cipher
  • web
  • with
Share this project:

Updates

posted an update

Updates - Cipher Quest: Crack the Code Challenge


Version 1.0 Release - Cipher Quest: Crack the Code Challenge

Date: November 2024
Update: The initial release of Cipher Quest: Crack the Code Challenge is live! Players can now experience the ultimate cryptography puzzle game, complete with classic cipher challenges like the Caesar and Vigenère ciphers. Test your logical skills, decode secret messages, and unlock hidden levels. Available for play now!

  • New Features:

    • Fully functional puzzle interface with real-time feedback.
    • Basic and advanced cryptographic puzzles (e.g., Caesar Cipher, Vigenère Cipher).
    • Level progression and tracking of player progress.
    • Hint system to assist players when they get stuck.
  • Bug Fixes:

    • Fixed an issue with the leaderboard not updating after completing levels.
    • Resolved UI rendering issue on smaller screens.

Try It Out Here!


Upcoming Feature - Multiplayer Mode

Date: December 2024
Update: We’re excited to announce that multiplayer mode is coming soon! Players will soon be able to team up with others and solve puzzles together, racing to crack the code first. Stay tuned for a more collaborative and competitive experience coming soon!

  • What’s Coming:
    • Real-time multiplayer puzzles.
    • Ability to share puzzles with friends or challenge others.
    • Leaderboards for multiplayer challenges.

Code Snippet - How We Handle Cryptography

Date: November 2024
Update: Check out a sneak peek into the code behind our cryptographic puzzles! Here’s how we implement the Caesar cipher for encoding and decoding messages.

def caesar_cipher(text, shift):
    result = ""
    for char in text:
        if char.isalpha():
            shift_base = 65 if char.isupper() else 97
            result += chr((ord(char) - shift_base + shift) % 26 + shift_base)
        else:
            result += char
    return result

# Example usage
encrypted = caesar_cipher("Hello, Cipher Quest!", 3)
print(f"Encrypted: {encrypted}")

Version 1.1 - UI Overhaul

Date: January 2025
Update: We’ve made some significant UI improvements to enhance the player experience! The new design is more immersive with smoother animations and cleaner navigation between puzzle levels.

  • New Features:

    • Updated UI with cleaner layout and improved responsiveness.
    • New sound effects for puzzle interactions.
    • Enhanced feedback system with tips after each puzzle.
  • Bug Fixes:

    • Fixed issue with puzzle hints not displaying correctly.
    • Optimized loading times for larger puzzles.

Stay tuned for more updates as we continue to refine Cipher Quest: Crack the Code Challenge!


Log in or sign up for Devpost to join the conversation.