
🎮 Trivaliz: A Fun and Educational Cultural Trivia Game 🌍
Trivaliz is a web-based game where players choose a country, and all questions and answers are tailored to that nation.
Published Jan 14, 2025
Hi AWS Community! 👋
I’m excited to share Trivaliz, a web-based trivia game with a unique cultural twist that I built with my partner Fachri. The goal? To create a fun and engaging way for players to compete while learning about customs, traditions, and quirks from different countries. 🌏
We wanted to combine the excitement of trivia games with the richness of cultural exchange. Players select a country, and the game tailors its questions and answers to that nation. It’s more than just a game—it’s an interactive way to celebrate diversity and learn about the world.
Here’s a breakdown of our tech stack and AWS integration:
- DynamoDB: Used for managing user profiles and game data. Its flexibility suited our real-time needs, although as a beginner, understanding the documentation was challenging.
- Amazon Q: This AI-powered assistant significantly streamlined our development process, helping us debug and optimize our code efficiently.
- Other Tech: We used NestJS for the backend, Next.js for the frontend, and Socket.IO for real-time communication.
One of the biggest hurdles for me was getting comfortable with DynamoDB. As a new user, I found the documentation somewhat redundant and lacking in clear, practical examples. In many cases, I relied on Stack Overflow for solutions. While DynamoDB is powerful, I believe improving its documentation with more beginner-friendly guides and real-world use cases would make it more accessible.
- Persistence Pays Off: Learning a new tool like DynamoDB can be tough, but the effort is worth it.
- AI Assistance is a Game-Changer: Amazon Q allowed us to focus on the complex logic aspects by handling repetitive and “boring” tasks.
- Real-Time Challenges: Implementing Socket.IO for seamless gameplay taught us a lot about handling connections and edge cases.
We’re planning to:
- Adding more interactive features like mini-games and bonus rounds.
- Enhancing the social aspect with chat and friend-invite features.
- Enhancing generated questions and answers to include more countries and localized traditions.
- Optimizing the app for accessibility to ensure it’s inclusive for all users.