Skip to content

A genetic algorithm solution to mars-lander puzzle.

Notifications You must be signed in to change notification settings

bhuvan-byte/mars-lander

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mars-lander

An attempt to solve mars lander through genetic algorithm and sine and cosine sum series (i.e. an(sin(nx)+bn(cos(nx)))
The challenge is inspired by a puzzle on condingame https://www.codingame.com/ide/puzzle/mars-lander-episode-3

The algorithm uses a set of randomly chosen parameters as coefficients to the sine cosine sum series.

The generated function is then used to output the "power" and the "angle" for the lander. Several such sets of parameters are selected and the best ones are kept while discarding the bad choices. Then answer is improved upon by procedure similar to that of genetic algorithm.

Different Paths explored while running genetic algorithm
In working on the codingame site mentioned above The simulation running on the platform of the codingame site

About

A genetic algorithm solution to mars-lander puzzle.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published