This application allows to simulate people's behaviour based on their motives.
- Navigate to project folder "Simulation":
cd Simulation
- Using console, create virtual environment:
python -m venv .venv
- Activate virtual environment:
- On Windows:
.venv\Scripts\activate.bat - In PowerShell:
.venv\Scripts\activate.ps1 - On Linux:
source .venv/bin/activate
- On Windows:
- Install requirements into .venv:
pip install -r requirements.txt
- Go to Simulation folder
- Activate virtual environment
- Run Simulation interface:
python game.py
- Exit virtual environment:
deactivate
- character.motives is a dictionary(key, motive) which allows to introduce unique key and friendly title
- Performing an action takes time
- Interface shows how long till action ends
- Tick speed change revamp
- Active motive highlights and goes first
- Active actions are stored in a separed dictionary
- Actions require resources (e.g. number of toilets, beds or computers available)
- Tasks for guys