Skip to content

Latest commit

 

History

118 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kapata

A terminal village simulator where autonomous villagers with personalities work, socialize, and survive through weather, seasons, and a shared job economy.

Systems

The world ticks in simulated minutes. Weather and temperature change over the day; fires warm nearby tiles.

Villagers have hunger, thirst, and sleep, plus instincts that cut in ahead of work: they wear clothes that wear out, and they socialize according to personality and how they feel about each other.

A planner watches shared stocks of wood, fish, meals, wool, and clothes, then posts jobs — chopping, fishing, cooking, tending fires, shearing sheep, building, tailoring. Idle villagers take the highest-priority job.

Run

Needs Python 3 and a terminal that supports color.

python3 -m venv .venv
source .venv/bin/activate
python -m pip install -r requirements.txt
python main.py
  • --load — resume a saved run
  • --dev — faster clock

Type a command and press Enter:

  • show resources, show jobs, show activities
  • inspect — arrow keys to look around, Esc to leave
  • quit

The world saves each in-game hour and on exit.

Development

Install new packages into the venv, then add them to requirements.txt.

Imports are sorted with isort (via pre-commit). After pre-commit install, they are sorted on commit. To sort the tree yourself:

isort .

About

ASCII village life sim — villagers chop wood, cook, tend fires, build houses, and form opinions of each other.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages