Inspiration

We were inspired by classic interactive choice games, fascinated by how users navigate complex situations while exploring the mystical world we created. The National Banque's interactive challenge seemed the most interesting and fun to us.

What it does

In this interactive, choice-based game, players are presented with thought-provoking scenarios where they must make decisions. Each choice affects their points and ultimately determines their fate, guiding them through a dynamic and evolving storyline.

How we built it

We built the game using event-driven programming in Java Swing, utilizing mouse listeners to detect player interactions like clicks and hover actions. Boolean flags manage game states, while timers control transitions and text animations. The game’s state, including player choices and points, is tracked to affect future decisions. Dynamic visual effects like fade transitions and smooth scene changes enhance the overall experience. We added background song visual images to make the gameplay experience more memorable.

Challenges we ran into

One of the main challenges we encountered was handling mouse hovering for interactive buttons and ensuring the game responded accurately to user input. Another challenge was managing the file location of the sound effects, as ensuring they loaded correctly from different directories was tricky.

Accomplishments that we're proud of

We are proud of creating an immersive, interactive experience that blends dynamic storytelling with real-time user input. The event-driven programming using Java Swing and mouse listeners allowed us to design smooth transitions and successfully integrating sound effects and background music enhanced the atmosphere. Most importantly, the game is fully functional, with all the key features working as intended.

What we learned

we learned how to effectively use Java Swing for interactive game development, specifically implementing mouse listeners and event-driven programming to create a seamless user experience. We learned how to manipulate the mouse pointer location to apply different visual effects. The process also taught us how to tackle challenges such as file management and ensuring files works on everyone's systems. Especially, from this hackathon we learned how to tackle difficult challenges efficiently within difficult time constraints.

What's next for Interactive Game

We are planning to implement more complex scenarios and figure out a way so that choices effect your storyline as well and the choices could lead to 2 or more different stories. We could also add mini games in between our game which we would have to clear for advancing to the next prompt.

Built With

Share this project:

Updates