A physically accurate rocket simulator with a genetic algorithm to enable an AI to fly a rocket successfully.