Our Journey: Building Time Loop Chronicles
What Inspired Us
The concept of time loops has always fascinated us—whether in movies, games, or books. We wanted to bring this unique idea to life by combining it with multiplayer gameplay to create a game that challenges players to collaborate and compete within the constraints of a time-resetting loop. The idea of solving intricate puzzles while racing against the clock provided an adrenaline-pumping challenge that we felt would engage players worldwide.
Additionally, we were inspired by hackathons' fast-paced nature and AWS’s rich ecosystem. With AWS services simplifying backend complexities, we saw an opportunity to focus on innovation rather than reinventing the wheel.
What We Learned
Technical Skills:
- Mastered AWS Amplify for seamless backend integration and real-time multiplayer capabilities.
- Explored Amazon Bedrock for adding generative AI that dynamically generates puzzles and NPC dialogues.
- Deepened our understanding of GraphQL APIs and their power in real-time applications.
Collaboration:
- Effective team coordination in dividing tasks like frontend development, backend implementation, and design.
- Improved communication skills using Agile principles to keep everyone on track.
Time Management:
- Balancing feature implementation and testing within tight deadlines.
- Prioritizing a minimal viable product (MVP) approach while planning for future enhancements.
Problem Solving:
- Debugging real-time multiplayer issues and optimizing performance.
- Crafting immersive puzzles and designing an intuitive player interface.
How We Built Our Project
1. Backend Setup
- Used AWS Amplify to configure the backend, including authentication, GraphQL API, and hosting.
- Integrated Amazon DynamoDB for managing game states and player progress.
- Leveraged AWS Lambda for custom multiplayer logic to synchronize player actions and ensure a seamless time-loop mechanic.
- Implemented real-time subscriptions using GraphQL to update players on shared game states dynamically.
2. Frontend Development
- Designed the UI using React for dynamic and responsive interfaces.
- Utilized Three.js for interactive 3D visuals, such as time-loop effects and puzzle animations.
- Connected the frontend to the backend via Amplify's GraphQL API for smooth data flow.
3. Multiplayer Mechanic
- Built the multiplayer logic using real-time updates from Amplify subscriptions and synchronized actions across players.
- Designed puzzles that required player collaboration, making teamwork an integral part of the game.
4. AI Integration
- Incorporated Amazon Bedrock to generate unique puzzles dynamically, ensuring that every game session felt fresh and engaging.
5. Testing and Optimization
- Tested the game with mock users to identify and fix bugs in real-time gameplay.
- Focused on optimizing performance to handle multiple players simultaneously without lag.
Challenges We Faced
Real-Time Sync Issues:
- Implementing smooth real-time synchronization for multiplayer players was complex, especially with time-sensitive gameplay mechanics.
- Solution: We used Amplify's real-time subscriptions and fine-tuned the GraphQL API to minimize latency.
Dynamic Puzzle Generation:
- Generating unique and engaging puzzles without hardcoding required integrating AI effectively.
- Solution: Leveraged Amazon Bedrock’s generative AI capabilities to craft puzzles dynamically.
Learning Curve:
- As beginners in AWS, mastering Amplify, DynamoDB, and other services within a short timeframe was challenging.
- Solution: Followed AWS Skill Builder courses and collaborated as a team to fill knowledge gaps.
Time Management:
- Balancing hackathon deadlines with building a polished and functional game was tough.
- Solution: Adopted Agile principles to focus on critical features first and deferred enhancements for later iterations.
Final Words
Time Loop Chronicles is not just a game; it’s a manifestation of creativity, teamwork, and technical innovation. We’re proud to have created an experience that challenges players to think critically, work together, and adapt to an ever-changing loop of time. The journey of building this project taught us invaluable lessons that we will carry forward in our careers.
We’re excited to see players immerse themselves in the loops, solve puzzles, and compete for survival—all while racing against the clock!
Built With
- amazon-web-services
- lambda
- react