Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/marionauta/ag
Simple implementation of agent-based models in C
https://github.com/marionauta/ag
Last synced: about 2 months ago
JSON representation
Simple implementation of agent-based models in C
- Host: GitHub
- URL: https://github.com/marionauta/ag
- Owner: marionauta
- Created: 2023-07-21T12:39:15.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-01T22:37:26.000Z (about 1 year ago)
- Last Synced: 2023-12-01T23:29:57.422Z (about 1 year ago)
- Language: C
- Homepage:
- Size: 42 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ag
Simple implementation of agent-based models in C, with graphic representation
using raylib. This is a project to learn more about C memory handling.## Roadmap
- [x] Graphical representation of the agents' state.
- [x] Graphical toolbar to manage the simulation.
- [ ] Scripting language to define the simulation.## Dependencies
- A C compiler
- GNU make
- [raylib 4.5](https://www.raylib.com)
- [raygui 4.0](https://github.com/raysan5/raygui/releases/tag/4.0)
- Copy `src/raygui.h` to the `vendor` folder.
- Aditionally, you can run `make vendor/raygui.h` and it will download
and extract it automatically.## Compile & run
```console
$ make
$ make run
```## References
- [Agent-based model](https://en.wikipedia.org/wiki/Agent-based_model)