Ghost in the Code: Offline Séance with Programming Language Spirits
Описание и применение
Проект «Ghost in the Code» представляет собой локальную игру‑RPG, где игроки взаимодействуют с духами исторических языков программирования, используя модель qwen2.5:1.5b через Ollama без подключения к интернету.
Задача
Provide an offline, local‑first educational game that lets users interact with AI‑powered spirits of historical programming languages without relying on cloud services.
Результат
The project delivers a fully offline, local‑first AI game that meets the challenge criteria, demonstrating that educational AI experiences can run on modest hardware without cloud dependencies.
Рабочий процесс
- Clone the repository from GitHub
- Copy .env.example to .env
- Run
npm install ollamaandollama pull qwen2.5:1.5b - Start the dev server with
npm run dev - Open http://127.0.0.1:5173 in a browser
- Boot the terminal, summon a ghost, and interact
- Solve debugging puzzles and earn XP
- Disconnect Wi‑Fi to verify offline operation
Доказательства
The defining constraint: after you install Ollama and pull the model, core play works without the internet.
Default model: qwen2.5:1.5b (~986 MB, Apache-2.0) — chosen for a GTX 1050 Ti / 16 GB RAM class machine.
No login. No API keys. If Ollama is missing, the setup screen explains the gap instead of silently calling a cloud model.
- Дата записи: 2026-11-01T12:44:09.045Z