Send Rockets To Mars With AI
Send rockets to Mars with artificial intelligence(Genetic algorithm) in python.
Tools
- Python 3
- EasyDraw
How to Play
Installation Requirements
pip install EasyDraw
Run the Code
python3 main.py
You Can Change
- You can change the POPULATION_SIZE, ROCKET_LIFESPAN and MUTATION_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 in Rocket class to obtain different outputs!
Project Tree
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
Links
Download Source Code: Click Here
My Github Acount: Click Here