Terminara

Terminara - An AI Terminal Adventures

Experience an infinitely replayable AI-driven scenario game in your terminal. Load any world script and let the AI create a unique adventure for you.

Terminara Demo

Core Features

features.exe

Download & Install

installation.sh

or manual installation with Python:

1

Install Python

Ensure you have Python 3.8 or newer installed on your system.

python --version
2

Download the Game

Download the latest version from the GitHub Releases.

git clone https://github.com/luyiourwong/Terminara
3

Install Dependencies

Install the required Python packages.

pip install -e .
4

Start the Game

Run the game and start your adventure.

terminara

Create Your Custom World!

Want to venture into a medieval fantasy world? Or survive in a cyberpunk metropolis?


With a simple JSON configuration file, you can create any world setting you can imagine. Define characters, backstories, available items, and unique game rules.


The AI will dynamically generate scenarios and dialogues that fit your world setting, giving each custom world a unique gameplay experience.

world_config.json
{ "world": { "name": "aethelgard", "description": "A world of myth." }, "ai": { "system": "This is aethelgard, a world of myth.", "prompt": "Generate stories based on Norse mythology.", "lore": { "leveling": "Player can level up by doing something brave." } }, "variables": { "hp": { "type": "numeric", "description": "Player's health, value 0 will result in a game over.", "value": 100, "min_value": 0, "max_value": 100 } }, "items": { "Potion1": { "name": "Heal Potion", "description": "Potion to heal.", "attributes": { "hp": 20 } } }, "scenario": { "init": { "text": "You awaken in the shadowed halls of Valhalla's outskirts in Aethelgard, a realm woven from Norse myths. The air hums with the whispers of Valkyries, and the distant clash of swords echoes from Ragnarok's edge. A spectral figure, perhaps a draugr, beckons you forward. What do you do?", "choices": [ { "text": "1. Approach the spectral figure cautiously" }, { "text": "2. Chant an ancient rune to reveal its true nature", "actions": [ { "variable_name": "level", "value": "1" } ] } ] } } }