Skip to content

Latest commit

 

History

History
34 lines (20 loc) · 1.49 KB

README.md

File metadata and controls

34 lines (20 loc) · 1.49 KB

Genesis

Evolution of organisms powered by DWRAON (damp-weighted recurrent and/or network) brains, inspired by Andrej Karpathy's Script Bots.

There is currently no recording of the current version of Genesis. However, the following video shows a previous iteration of this project:

Video of simulation in progress.

Getting started

This project runs on LÖVE 0.10.0 (Super Toast), and might have problems with colours in later versions.

Compile the MoonScript code to Lua, then use LÖVE to run the simulation:

Controls

Simulation

  • Press <space> to spawn a randomly initialised organism at the mouse position.
  • Press <enter> to spawn 10 random organisms at the mouse position.
  • Press <tab> to run 1000 update steps without rendering (slightly faster this way).

Organisms

  • Left-click on an organism to select it. This will show a visualisation of the underlying brain and highlight organisms in its family.
  • (with an organism already selected) Right-click on another organism to spawn a cross-over baby organism, merging properties of the selected and right-clicked organism.
  • Press <delete> to kill selected agent.
  • Press <backspace> to remove the selected agent as well as its entire family.

Food

  • Left-click food grid to grow food at mouse position.
  • Right-click food grid to remove food at mouse position.