A genetic algorithm simulation of rockets trying to reach the target
.
├── services Core components of the simulation
│ ├── controller.py Central processing block
│ ├── population.py Service to handle creation and deletion of test agents
│ ├── world.py Environment where agents interact
│ └── visualizer.py Pygame wrapper with utility functions
├── shared Components shared throughout the app
│ ├── configs.py App level Configuration
│ └── colors.py Rgb color values
├── main.py Entry point for the simulation
└── README.md
- Create a virtual environment
python3 -m venv venv
- Activate the virtual environment
source venv/bin/activate
- Install the requirements
pip3 install -r requirements.py
- To run the simulation
python3 main.py
- To update the simulation configurations use the configs file located at
shared/configs.py
- To exit the virtual env
deactivate
- Vectors
- Autonomous Agents (Controlling rockets on the screen) -
- Genetic Algorithm