Skip to content

T-Shai/OLC-CODEJAM-2020-WTLPD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OLC-CODEJAM-2020

GAME DEMO:

Click on the banner for a demo video

Click me


HOW TO LAUNCH:

Download binary for windows 10 :
  1. Download the zip file 
  2. Unzip it, you should get an executable and a resource folder
  3. Keep them in the same folder or it won't work !
  4. Launch the executable!
  • Click here to download the windows 10 executable on the Itch.io page

  • Clone the repository on GitHub :
    1. you are on it so...


    HOW TO PLAY:

    1. Press SPACE (or admire the cute robot you got in front of you)
    2. Configuration mode : Configure the Simulation
      1. Choose the population size (number of androids) and the mutation chance (what percentage of the population will mutate in the next generation. See below if you are not sure or leave it as it is) 
      2. Press ENTER when you are done to enter the Simulation mode
    3. Press ENTER when you are done to enter the Simulation mode
    4. Simulation mode : You can see your androids trying to enter a portal 
      1. press to reset the Simulation and the portals
      2. press to place obstacles on the screen
      3. Press CTRL to toggle between Simulation mode and Inspection mode
      4. CLICK on the + or - button to increase or decrease the speed.
    5. Inspection mode : inspect what is going on
      1. CLICK on androids to have information on them
    6. Have Fun !

    HOW TO CONFIGURE:

    The population size is how many androids you have. Generally, the more there is the better but it can lead to performance issues for a little improvement on the genetic algorithm's convergence speed .

    The mutation chance (MC) is really important but it must be a small value inversely proportional to your population size. If your MC is too big you might mutate a good gene :( but if your MC is too small it'll take your lifespan to see any improvement :'(

    if you are not sure what to do just experiment with different values

    ABOUT THE RESOURCES USED :

    The sprite were made by me on Paint nothing fancy.

    The music is free of use from the Free Music Archive see here for more information.

    #olcCodeJam2020

    About

    genetic algorithm

    Resources

    License

    Stars

    Watchers

    Forks

    Releases

    No releases published

    Packages

    No packages published

    Languages