Inspiration
The inspiration for BrainJack! comes from combining two seemingly unrelated concepts: gaming and studying. We wanted to create a fun way to engage people who might enjoy gambling or card games while also giving them an opportunity to test their knowledge. By introducing a study element into a blackjack game, we aim to make learning more entertaining and help players reinforce their study materials in a dynamic and engaging way.
What it does
A normal blackjack game — with a twist! Gambling addiction acting up again? Take this opportunity to practice your study materials. Play a regular game of black jack. If you lose, you have a chance to recoup your loss. If you win, you can answer as many questions as you like, doubling your winnings with each correct answer—choose to cash out at any time or risk it all with one wrong move.
How we built it
We built BrainJack! using React.js for both the frontend and backend components, ensuring a seamless user experience with an intuitive interface. By leveraging JavaScript and integrating MongoDB, we created a dynamic system to manage trivia questions and gameplay logic. Initially, we planned to use a Java-based backend but pivoted to a JavaScript-only approach due to time constraints, allowing us to focus on completing a polished and functional product.
Challenges we ran into
We faced challenges connecting the front end to the back end because we weren’t familiar with using APIs, leaving us to figure it out on our own. It was a tough learning curve, but we managed to resolve it by the end. Due to time constraints, we decided to pivot and implement our BrainJack! game entirely in JavaScript, which allowed us to streamline development and access a database to expand our features. While dropping the Java backend limited some aspects of our initial vision, it taught us an important lesson: in future hackathons, we’ll prioritize understanding the tools and APIs we plan to use upfront, so we can spend more time creating and less time debugging.
Accomplishments that we're proud of
We’re incredibly proud that we successfully built a fully functional blackjack game with an exciting twist—integrating trivia questions to take the gameplay to the next level. Despite facing challenges with backend integration, we adapted quickly by pivoting our approach and completing the entire project in JavaScript within the tight time frame. Using React, we created a clean, user-friendly interface that’s intuitive and fun to navigate. We also accessed a database to dynamically manage study questions, ensuring the game is scalable for future updates. Most importantly, we worked seamlessly as a team, learning new technologies and solving tough problems together under pressure. It was an intense but rewarding journey, and we couldn’t be happier with the result!
What we learned
We improved our understanding of connecting frontend and backend components and managing APIs for better integration. Throughout the project, we gained hands-on experience with React.js, Node.js, Express, and MongoDB, which significantly deepened our technical skillset. Working within the constraints of a hackathon, we learned the importance of time management and prioritization to ensure we delivered a functioning product on time. Additionally, we developed strategies to debug complex problems and adapt quickly when our initial plans didn’t work out as expected. This experience also highlighted the value of brainstorming creative solutions, enabling us to pivot effectively and still deliver an engaging and innovative project.
What's next for BrainJack!
- Create an immersive VR experience: Incorporate AltspaceVR to build a first-person blackjack environment, allowing users to feel as if they are in a real casino while practicing their study materials.
- Introduce multiplayer features: Enable users to play against friends or random opponents, competing to see who can win the most while answering questions correctly.
- Expand the question database: Partner with educational platforms to add more categories and ensure a diverse range of topics for all types of learners.
- Add customization: Allow users to select difficulty levels, specific study topics, or even create their own custom question sets.
- Integrate leaderboards and rewards: Motivate players by introducing global rankings and rewards for high scores, creating an engaging and competitive atmosphere.
Log in or sign up for Devpost to join the conversation.