entioentio / spacebusiness

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

spacebusiness

A space simulation showing how cruel the capitalism is.

Installation

First create a python virtual environment:

$ python -m venv .env

Activate and install dependencies

$ source .env/bin/activate
$ pip install -r requirements.txt

Run the project with

$ ./main.py

Normally the game runs in ticks every second. You can change this to manual (press enter) if you uncomment the input() line in main.py.

Game will create ticker.log where you can see how the prices of different goods changed over time. Currently the ticker shows entries like this:

Resource type Avg. price Total moneyflow # of transactions
WATER 0.52 0.84 3

It's a good idea to tail this log during the simulation is running, you can use other tools to graph it etc.

About


Languages

Language:Python 100.0%