This application allows the user to witness the activity of a virtual microbial community.
==============================
. o o o
. + .
+ o + + .
o + + o o
+ o . + o .
o ! + ! o
+ + + o
+ + . + +
o + . ! !
! o . . o
==============================
Name: Simulation 1
Size: 10x10
Microorganisms: 45
Dead Microorganisms: 55
Total Energy: 1858
Ticks elapsed: 16 of 120
- Install Docker
- Clone the repository
- Open the project in VSCode.
- Install the Remote-Containers extension.
- Click on the green button in the bottom left corner of the window.
- Select "Reopen in Container".
- Open a terminal in VSCode.
- Run the
./run_tests.sh
script or build the tests withmake tests
and run them with./mb_tests
.
- Install Docker and Docker-Compose
- Clone the repository
- Open a terminal in the root directory of the repository
- Run the following command:
docker-compose up --build --remove-orphans
- Install Docker
- Clone the repository
- Open the project in VSCode.
- Install the Remote-Containers extension.
- Click on the green button in the bottom left corner of the window.
- Select "Reopen in Container".
- Open a terminal in VSCode.
- Run the
./cr.sh
script or build the project withmake
and run it with./mb_app
.
The Microbiome class represents a virtual microbial community. It is an extension of the Environment class provided by env-lib-cpp. Within the microbiome, there are a number of microbes that are able to interact with each other and the environment. The Microbiome class is responsible for managing the microbes and the environment they exist in.
The Microorganism class represents a single microbe. It is an extension of the Entity class provided by env-lib-cpp. The Microorganism class is responsible for managing the microbe's energy and metabolism.