AIventure is an open-source educational web game built with Angular, Phaser.js, and Gemma 4 (or Gemini) that teaches players about generative AI concepts through interactive puzzles. The game features three core mechanics: prompt-based door opening, vibe coding challenges where players build mini web apps via AI prompts, and agentic NPCs that use a looping prompt-execute cycle to navigate the game world. It supports multiple AI backends including locally hosted Gemma 4 via LM Studio or Ollama, direct Gemini API calls, or Vertex AI on Google Cloud. The project demonstrates how Angular and Phaser.js can be integrated via an event bus, and serves as a reference for building AI-powered gamified learning experiences.

6m watch time

Sort: