Gamified input-output tables (no GUI).
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
anonymous 08d35251f5 init 2 months ago
lib init 2 months ago
src init 2 months ago
.gitignore init 2 months ago
LICENSE init 2 months ago
README.md init 2 months ago
build.zig init 2 months ago
config.json init 2 months ago
mess.lua init 2 months ago

README.md

econ

A small, gamified input-output planning demo, As of now the only algorithm implemented (mess.lua) is an adaptation of the harmony function from TANS.

Dependencies

  • zig-0.11.0

Build

zig build

Run

zig-out/bin/econ [#iterations]

You can change most of the game parameters in the config.json file. Planning scripts must contain the follwing functions:

start()
assignResources()
assignWages()
assignPrices()
printInventory()
printConsumption()
printProduction()

start() is only called once, at the start of the game and doesn't return anything. The three assign functions are called in that order, every iteration, and should return an array with the assignations (check mess.lua). The print functions don't return anything and you can leave them empty if you want.