ai-death-game — What is it?

yami-inc/ai-death-game is a browser-based AI death game simulator that enables interactive debate and elimination among AI agents, with a Game Master (GM) interface for intervention.

⭐ 30 Stars 🍴 10 Forks TypeScript MIT Author: yami-inc
Source: Official README and linked documentation View on GitHub →

Why it matters

This project is attracting attention due to its innovative use of AI for interactive storytelling and decision-making. It fills a gap in the market for unique, AI-driven gaming experiences. The project differs through its integration of Gemini API for AI-driven discussions and its browser-based, serverless architecture.

Source: Official README and linked documentation

Core Features

AI Agents Debate and Eliminate

Five AI agents engage in debates and eliminate each other based on voting. The Game Master can intervene by injecting text instructions or forcing eliminations.

Source: Official README and linked documentation
Browser-based and Serverless

The game operates entirely in the browser, eliminating the need for a server. The Gemini API key is sent directly from the browser to Google's API, ensuring security and privacy.

Source: Official README and linked documentation
Character Pool and Trophies

A pool of 14+ characters, including hidden ones, can be selected. Trophies earned in the game can be used to unlock new characters.

Source: Official README and linked documentation
GM Intervention

The Game Master has the power to inject text instructions, force-eliminate agents, and add extra votes, providing a unique interactive experience.

Source: Official README and linked documentation

Architecture

The architecture is inferred to be a single-page application (SPA) using Next.js and React. It features a modular design with components for different game elements. Data flow is likely handled through the use of Zustand for state management, and Tailwind CSS for styling. The @google/genai SDK is used for AI interactions.

Source: Official repository tree and dependency files

Project Knowledge Graph

Knowledge graph: project (center) + core features (inner hexagons) + key dependencies (outer chips) @google/genai SDK@google/genai… Gemini API AI Agents Debate and EliminateAI Agents Debate an… Browser-based and ServerlessBrowser-based and S… Character Pool and TrophiesCharacter Pool and… GM Intervention ai-death-game Project Core feature Key dependency

Tech Stack

LanguageTypeScriptFrameworkNext.js 16 / React 19 / Zustand / Tailwind CSS
@google/genai SDKGemini API
Browser-based, serverless deployment (Vercel recommended)
Source: Official repository tree and dependency files

Quick Start

git clone https://github.com/yami-inc/ai-death-game.git cd ai-death-game npm install npm run dev
Source: Official README and linked documentation

Use Cases

yami-inc/ai-death-game is suitable for developers and tech enthusiasts interested in AI-driven applications, particularly those looking for unique gaming experiences or interactive AI simulations. It can be used for educational purposes, as a proof of concept for AI integration in games, or as a platform for personal or commercial gaming projects.

Source: Official README and linked documentation

Strengths & Limitations

Strengths

  • Innovative use of AI for interactive storytelling.
  • Browser-based, serverless architecture for easy deployment and scalability.
  • Modular and component-based design for easy customization and extension.

Limitations

  • Limited to browser-based play, which may not suit all users.
  • Relies on Gemini API, which may have usage limits or costs associated with it.
Source: Official README and linked documentation

Latest Release

v1.0.0 (2026-02-27): Initial Release

Source: Official releases

Verdict

yami-inc/ai-death-game is a project for those interested in exploring the intersection of AI and gaming. Its innovative approach to interactive AI-driven storytelling offers a unique and engaging experience. It is particularly suitable for developers looking to integrate AI into their projects or for those interested in creating custom AI-driven games.

Sources and review scope
This review is based on the project's public documentation. Versions, installation commands, and feature boundaries can change upstream; check the cited sources and current release before use. Sources checked on: 2026-11-12 18:34.

Reference materials: README, GitHub API, dependency files