🎡 Inspiration 🎯

The Prisoners Riddle game was inspired by the classic 100 Prisoners Riddle, a well-known probability and logic puzzle. 🎲 My goal was to take this intriguing problem and turn it into an engaging, interactive experience that challenges players to think critically, strategize, and work together. 🤝 Given the theme of Vox Astra, I saw an opportunity to use this game to highlight the importance of teamwork, problem-solving, and social cooperation. 🌍✨

🛠️ What it does 🕹️

Prisoners Riddle is an interactive web-based game where players must solve a logical puzzle using probability, strategy, and collaboration. 🧠 The game simulates the famous 100 Prisoners Problem, where prisoners must work together within strict constraints to increase their chances of survival. By engaging players in this high-stakes challenge, the game fosters critical thinking, teamwork, and the understanding of probability principles in an immersive way. 🎮

💻 How I built it 🔨

I developed Prisoners Riddle using modern web technologies, including HTML, CSS, and JavaScript for the frontend, and React.js for a smooth, dynamic user interface. ⚙️ The game logic was implemented using JavaScript, while hosting and deployment were managed via Netlify for easy access. 🚀 The source code is open-source and available on GitHub at https://github.com/Roy001kgb/prisoners-riddle- , making it accessible for improvements and contributions from the community. 🔗💡

🚧 Challenges I ran into ⚠️

  • Designing an intuitive UI 🎨: Since the 100 Prisoners Problem is complex, I had to carefully design a user-friendly interface that guides players through the challenge without overwhelming them.
  • Game logic implementation 🤯: Translating the probability-based puzzle into working code required precise algorithms and thorough testing.
  • Ensuring smooth gameplay 🎭: Optimizing performance to ensure a seamless experience was a key challenge.

🏆 Accomplishments that I'm proud of 🥇

  • Successfully transforming a theoretical logic puzzle into an interactive and engaging game. 🎉
  • Implementing a sleek and accessible UI that allows players to focus on strategy and teamwork. 🎯
  • Deploying a fully functional game on Netlify that is accessible to anyone with an internet connection. 🌍
  • Open-sourcing the project to encourage community contributions and further development. 🔓🤖

📚 What I learned 📖

  • The power of teamwork 🤝: Even though I worked solo, I focused on designing a game that emphasizes collaboration.
  • UI/UX design principles 🖌️: Ensuring players can easily understand and engage with the game was a key challenge I overcame.
  • Algorithm optimization 📊: Handling the probabilities and game logic efficiently was a valuable technical learning experience.
  • The importance of learning to code 💡💻: Anyone can start making simple games with just a bit of programming knowledge! This project shows that coding is a powerful tool to create engaging and educational experiences. 🔥

🚀 What's next for Prisoners Riddle 🎯

  • Multiplayer functionality 🕹️: Expanding the game to allow multiple players to participate and collaborate in real-time.
  • New variations and challenges 🎭: Introducing additional puzzles and difficulty levels to enhance replayability.
  • Educational integration 🏫: Partnering with educators to use the game as a teaching tool for logic and probability.
  • Community involvement 👨‍👩‍👧‍👦: Encouraging open-source contributions to expand the game’s potential and introduce new features.

By emphasizing teamwork, strategy, and problem-solving, Prisoners Riddle aligns perfectly with Vox Astra's vision of social good and collaboration through technology. 🌟 I encourage everyone to learn how to code, create simple games, and explore the world of problem-solving through technology! 🎮💻🚀

Built With

Share this project:

Updates

Submission history