A turn-based murder mystery game powered by Galadriel’s on-chain AI agents. Players, represented by characters like Blue Fish, Orange Crab, Green Turtle, and Red Donkey, investigate a haunted mansion while interacting with a Game Master AI to solve the mystery..
This project integrates Galadriel’s on-chain AI system to create a dynamic murder mystery game set in a haunted mansion. The players—Blue Fish, Orange Crab, Green Turtle, and Red Donkey—move around the mansion, collecting clues and interacting with the environment through both movement inputs and chat-based commands. The game’s core AI agents run on Galadriel’s Oracle, which manages the asynchronous interactions between the players and external services.
The Game Master, facilitated through the Gemini API for structured outputs, oversees the narrative, controlling the flow of the game, issuing challenges, and guiding players toward solving the mystery. Galadriel’s Oracle handles LLM calls and tool use for specific game actions such as gathering external information or managing player inputs. The game’s difficulty and progression evolve dynamically based on player actions, guided by the Game Master’s decisions.
The game’s backend relies on Galadriel’s Oracle, enabling smart contract interactions with off-chain AI models and external tools. Player commands are sent to the Game Master, which processes them using structured schemas from the Gemini API, allowing for detailed interactions between players and the environment.
• Frameworks: Nextjs + solditiy
• Game Master: Controlled through structured outputs using the Gemini API, managing the narrative and player interactions.
• Technologies: Galadriel/TeeML oracle
Each player’s movements and chat inputs are processed in real time, allowing for a rich and interactive game environment. The Game Master dynamically responds to player actions, while Galadriel’s Oracle manages communication and execution of commands.