⚠️ Note: This project is currently under active development (Work in Progress).

💡 Inspiration

I enjoy playing NFT games and realized their potential for engagement. I thought, "Why not combine this engagement with learning?" This inspired me to create an educational game where students are rewarded not just with points, but with verifiable NFT certificates. The goal is to make "Play-to-Earn" evolve into "Play-to-Learn."

🎮 What it does

MetaEdu is a 3D RPG educational game designed to incentivize learning through Web3 technology and Generative AI.

  • Secure Login: Users log in securely using their MetaMask wallet.
  • AI-Powered Quizzes: The game starts with a baseline of 10 questions. Once completed (or upon retaking the quiz), the game utilizes Gemini 1.5 - 3 to generate brand new, unique questions instantly. This means if a student repeats the level, they will face different challenges, preventing rote memorization and ensuring deep understanding.
  • Persistent Data: Despite the dynamic nature of the questions, all quiz scores, pass/fail status, and user wallet addresses are tracked and stored permanently using Firebase Realtime Database.
  • Rewards: Upon successfully passing the threshold score, players can mint and download an NFT Certificate.
  • Blockchain: The certificates are stored on the Sepolia Testnet using the Thirdweb SDK, ensuring they are permanent and verifiable.

🛠️ How we built it

We utilized a combination of game development tools, Web3 infrastructure, and advanced AI:

  • Game Engine: Unity 3D for the core game mechanics and environment.
  • Generative AI (The Brain): We integrated the Gemini 1.5 - 3 API configured via Google AI Studio. We prompted the model to act as a "Chemistry Teacher," generating formatted JSON question sets on the fly. This allows the game to have infinite content without manual hardcoding.
  • Web3 Integration: Thirdweb SDK for seamless blockchain interaction (minting certificates) on the Sepolia Testnet.
  • Backend: Firebase SDK for managing user sessions, saving cumulative scores, and linking results to specific Wallet Addresses.
  • Assets: Blender 3D for modeling and 3D AI tools for asset generation.

🚧 Challenges we ran into

Integrating Web3 wallets (MetaMask) directly into a Unity WebGL/Android build for an educational context was challenging. Furthermore, parsing the *JSON output from Gemini 1.5 - 3 * within Unity required strict data handling to ensure the AI-generated questions appeared seamlessly in the UI without crashing the game flow. Balancing the complexity of blockchain with a simple user interface for students required iterating on the Thirdweb and Firebase connections multiple times.

🔮 What's next for MetaEdu

This project is currently a prototype. Our roadmap includes:

  • Mobile Support: Fully optimizing the Android version for easier access.
  • Adaptive Difficulty: Using Gemini to analyze previous wrong answers and generate specific remedial questions.
  • Expansion: Adding more subjects beyond the current quizzes.
  • Future Development: We are looking for support/funding to hire Indonesian engineers or collaborate with global developers to refine the blockchain integration and game polish.

Built With

Share this project:

Updates