Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/r-k-b/tulars
Experimentation with simple Utility Function-based agents.
https://github.com/r-k-b/tulars
elm utility-theory
Last synced: about 1 month ago
JSON representation
Experimentation with simple Utility Function-based agents.
- Host: GitHub
- URL: https://github.com/r-k-b/tulars
- Owner: r-k-b
- License: agpl-3.0
- Created: 2017-11-14T07:24:23.000Z (about 7 years ago)
- Default Branch: main
- Last Pushed: 2024-04-10T01:50:31.000Z (9 months ago)
- Last Synced: 2024-04-10T04:13:30.331Z (9 months ago)
- Topics: elm, utility-theory
- Language: Elm
- Homepage: https://tulars.berals.wtf
- Size: 1.81 MB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tulars
![.github/workflows/make.yml](https://github.com/r-k-b/tulars/actions/workflows/nix.yml/badge.svg)
Experimentation with simple Utility Function-based agents. [(Demo)](https://tulars-5f1d1.firebaseapp.com)
E.g., how do we specify rich, sequential and/or parallel behaviours that
are robust to changing environments and dynamic goals?# running direct from GitHub
You'll need [Nix] installed.
```shell
$ nix run github:r-k-b/tulars
```# building with Nix
```shell
$ nix build github:r-k-b/tulars$ xdg-open result/index.html
```# testing
Run `just check` to check everything, or `just test` for the unit tests.
TODO: include these in `nix flake check`:
- elm-review
- an elm-format check
- style checks for all the other files?# keeping dependencies up to date
dependabot should keep the elm.json dependencies up to date;
to keep the nix dependencies up to date, run `just update`.NB, these commands assume you've entered the provided dev shell.
`direnv allow` or `nix develop` should get you there.# integration tests
Not part of the default test run, yet.
While the site is running on `localhost:8000` (perhaps via `just live`), run:
just e2e
# misc
[Nix]: https://nixos.org/
[Verlet integration](https://en.wikipedia.org/wiki/Verlet_integration)
[GameAIPro: Intro to Utility Theory (PDF)](http://www.gameaipro.com/GameAIPro/GameAIPro_Chapter09_An_Introduction_to_Utility_Theory.pdf)
[Elm]: http://elm-lang.org/
## inspirations
[Creeper World](https://knucklecracker.com/)
[Globulation](https://globulation2.org/wiki/Main_Page)
[Incremancer](https://github.com/jamesmgittins/incremancer)
[Kenshi](https://lofigames.com/)
[Rimworld](https://rimworldgame.com/)