Skip to content
/ Zoo Public

Zoo (Genetic Algorithm and Neural Networks Playfield)

Notifications You must be signed in to change notification settings

gnu11111/Zoo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zoo, a play-field for genetic algorithms and neural networks

Zoo is a simulation of creatures ('blobs') operating on a rectangular field, using simple neural networks to calculate actions out of neural stimulus from 'sensors'. Inspired by this YouTube video: I programmed some creatures. They Evolved..

Note: use x, q or <Esc> to exit the simulation. Do not use the close-icon from the window-frame or else the programm will continue to run and use up your CPU and RAM!


Screenshot of the simulation


Build with Apache Maven:

mvn clean package

Run in a Java Runtime:

USAGE: java -jar target/zoo-0.8.2-jar-with-dependencies.jar [-c <context>] [-g <genom>] [-d <delay>] [-q] [-?]

    -c <context> ... always use this context
    -g <genom>   ... use this genom as starting-point for every simulation
    -d <delay>   ... delay between steps for first simulation [ms]
    -q           ... quiet mode, do not ping

Use the following keys to control the simulation:

    <Arrow-Right>       Accelerate the simulation
    <Arrow-Left>        Decelerate the simulation
    <Arrow-Up>          Only show the result of each generation (toggle)
    <Arrow-Down>        Rendering on/off (toggle)
    S                   Skip to the end of the current generation
    P                   Pause the simulation (toggle)
    L                   Log world context and genom of the first blob
    N, <Enter>, <Space> Start the next (random) simulation
    X, Q, <Esc>         Exit the programm

About

Zoo (Genetic Algorithm and Neural Networks Playfield)

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages