{"slug": "haunted-terminal-ai-the-forgotten-signal-an-ai-powered-mystery-game", "title": "👻 Haunted Terminal AI — The Forgotten Signal | An AI-Powered Mystery Game", "summary": "A developer built Haunted Terminal AI — The Forgotten Signal, an open-source text-based mystery game in Python that uses Google's FLAN-T5 Small to generate dialogue for an in-game AI character named ECHO. The game runs in Google Colab with no local installation and combines scripted logic for five interconnected locations, clues and commands with model-generated answers to player questions. The developer reported reaching the game's \"GOOD ENDING — THE AWAKENING\" in testing and noted that the small model sometimes produced responses inconsistent with the storyline, concluding that consistent AI dialogue requires careful prompting and testing.", "body_md": "*This is a submission for the [Hacktoberfest Open-Source AI Challenge Week 4: Ghost in the Machine](https://dev.to/challenges/hacktoberfest-week4-2026-10-26).*\n\n**Haunted Terminal AI — The Forgotten Signal** is an open-source, AI-powered, text-based mystery adventure built with Python and Google FLAN-T5 Small.\n\nWhat if an abandoned computer suddenly started talking to you?\n\nThe year is 2026. A forgotten computer wakes up with a mysterious message:\n\nFind my memories before the signal fades.\n\nPlayers enter an abandoned building, explore five interconnected locations, discover hidden clues, and communicate with a mysterious AI called **ECHO**.\n\nThe challenge theme, *Ghost in the Machine*, inspired me to create a story about technology, forgotten memories, and an AI whose past has become a mystery.\n\nYou can play the game directly in Google Colab:\n\nTo get started:\n\n`help` to see the available commands.\nNo local installation is required. An internet connection is needed to load the model.\n\nThe complete project is publicly available on GitHub:\n\nThe repository includes the Python game in a Jupyter notebook and a README with gameplay instructions.\n\nThe project is open for exploration, feedback, and improvements.\n\nI used the following technologies:\n\nThe game combines traditional Python programming with AI-generated dialogue.\n\nPython handles the game structure, including locations, hidden clues, player commands, and endings. The AI model is used to generate responses when the player asks ECHO questions.\n\nThis approach allowed me to experiment with AI storytelling while keeping the main gameplay logic predictable.\n\nPlayers can use commands such as `look`, `explore`, `go ROOM`, `ask QUESTION`, `clues`, `map`, `status`, and `unlock ECHO`.\n\nI tested the game in Google Colab and successfully reached:\n\n**GOOD ENDING — THE AWAKENING**\n\nMy test results were:\n\nThe game handled room navigation, clue discovery, and the final terminal interaction.\n\nOne limitation I discovered was that the small language model sometimes generated responses that did not fit the mystery's storyline.\n\nThis was an important lesson: integrating an AI model is only the beginning. Creating consistent and meaningful AI dialogue requires careful prompting, testing, and improvements.\n\nUsing an openly available AI model allowed me to experiment with AI-powered storytelling without depending on a paid proprietary API.\n\nI could inspect the code, modify the prompts, test the model, and understand how the different parts worked together.\n\nOpen-source tools also make learning more accessible. Other developers can study the project, experiment with the game, and suggest improvements.\n\nFor me, open innovation is about learning through experimentation and sharing what we create.\n\nI would like to improve Haunted Terminal AI by:\n\nBuilding this project helped me learn more about Python, open-weight language models, debugging, and interactive storytelling.\n\n**Sometimes, the most interesting stories begin with a forgotten signal.** 👻\n\nThanks for checking out my project! Feedback and suggestions are welcome.", "url": "https://wpnews.pro/news/haunted-terminal-ai-the-forgotten-signal-an-ai-powered-mystery-game", "canonical_source": "https://dev.to/bhawana_agarwal_359556773/haunted-terminal-ai-the-forgotten-signal-an-ai-powered-mystery-game-p7c", "published_at": "2026-10-29 13:39:38+00:00", "updated_at": "2026-10-29 13:47:21.489099+00:00", "lang": "en", "topics": ["artificial-intelligence", "large-language-models", "ai-tools", "generative-ai"], "entities": ["Google", "FLAN-T5 Small", "Haunted Terminal AI", "ECHO", "Google Colab", "GitHub", "Hacktoberfest"], "also_reported_by": [], "alternates": {"html": "https://wpnews.pro/news/haunted-terminal-ai-the-forgotten-signal-an-ai-powered-mystery-game", "markdown": "https://wpnews.pro/news/haunted-terminal-ai-the-forgotten-signal-an-ai-powered-mystery-game.md", "text": "https://wpnews.pro/news/haunted-terminal-ai-the-forgotten-signal-an-ai-powered-mystery-game.txt", "jsonld": "https://wpnews.pro/news/haunted-terminal-ai-the-forgotten-signal-an-ai-powered-mystery-game.jsonld"}}