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.
 
 

819 B

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.