Send rockets to Mars with genetic algorithm in python and clean code!
- Python 3
- EasyDraw
pip install EasyDraw
python3 main.py
- You can change the
POPULATION_SIZE
,ROCKET_LIFESPAN
andMUTATION_RATE
constant variables to change generations. - You can change the
BH_DIST
,STARS_COUNT
,BLACKHOLES_COUNT
constant variables to change GUI. - You can change the calculations in
calculate_fitness
method inRocket
class to obtain different outputs!
send-rockets-to-Mars-with-AI
├── classes.py
├── constant.py
├── functions.py
├── main.py
├── test_fitness.py
└── images
├── blackhole.png
├── earth.png
├── mars.png
├── moon.png
├── rocket-idle.png
└── rocket-moving.png
Download Source Code: Click Here
My Github Account: Click Here