Skip to content

alexxroche/shorelark

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🐦 Shorelark

Simulation of life & evolution - powered by neural networks, genetic algorithms, and high-school math.

I've described the implementation in detail on my blog: Learning to Fly.

Building

$ cd libs/simulation-wasm
$ wasm-pack build --release
$ cd ../../www
$ npm install
$ npm run start

# Now open your browser and navigate to `localhost:8080`
# (or whatever address npm says it's listening at)

Playing

There's an in-game terminal in which you can enter commands - if you just want to see the birds learning, launch the t command (as in "train") - i.e. write t, press enter, write t, press enter etc. for a few times and compare what you see.

License

Copyright (c) 2020-2021, Patryk Wychowaniec [email protected].
Licensed under the MIT license.

Releases

No releases published

Packages

No packages published

Languages

  • Rust 85.2%
  • JavaScript 11.2%
  • HTML 2.0%
  • CSS 1.3%
  • Nix 0.3%