Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

AWS Logo
Menu
🎮 Trivaliz: A Fun and Educational Cultural Trivia Game 🌍

🎮 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. 🌏

Why Trivaliz?

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.

How We Used AWS

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.

Challenges We Faced

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.

What We Learned

  • 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.

What’s Next for Trivaliz?

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.
     

Comments

Log in to comment