Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/psichix/emergent
Toolset for producing emergent gameplay for games written in Rust
https://github.com/psichix/emergent
artificial-intelligence game-development rust-crate
Last synced: about 1 month ago
JSON representation
Toolset for producing emergent gameplay for games written in Rust
- Host: GitHub
- URL: https://github.com/psichix/emergent
- Owner: PsichiX
- License: other
- Created: 2019-04-12T12:47:46.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-01-08T01:57:02.000Z (12 months ago)
- Last Synced: 2024-10-16T05:31:44.747Z (2 months ago)
- Topics: artificial-intelligence, game-development, rust-crate
- Language: Rust
- Homepage: https://psichix.github.io/emergent/
- Size: 2.8 MB
- Stars: 80
- Watchers: 7
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Emergent AI
[![Crates.io](https://img.shields.io/crates/v/emergent.svg)](https://crates.io/crates/emergent)[![Docs.rs](https://docs.rs/emergent/badge.svg)](https://docs.rs/emergent)__*Toolset for producing emergent gameplay for games written in Rust*__
## About
Emergent AI library is a set of modular building blocks to use for building smart
agents, events and anything you want. The goal of this library is to generalize
most well-known modern AI techniques into smaller units that when put together
can produce smart behaviors of agents and game world itself.When we focused on turning parts of modern AI systems into building blocks, we
end up with these decision makers:
- __Machinery__ - Finite State Machine (or simply network of states connected by
conditions to met for jumps to happen).
- __Reasoner__ - Utility AI agent (that scores each state and selects one with
the highest score).
- __Planner__ - Goal Oriented Action Planning agent (finds the best path through
all possible actions for goal selected by another decision maker assigned into
this planner).
- __Sequencer__ - Goes through states (ones that are possible to run) in a sequence.
- __Selector__ - Selects only one state from list of possible states to run.
- __Parallelizer__ - Runs all states (that are possible to run) at the same time.This modularity gives more power to the user, it allows user to build hierarchies
of different decision makers to build the exact behavior user wants without
putting limits on what is achievable!### Read more about all the concepts in the documentation
[https://docs.rs/emergent](https://docs.rs/emergent)
### Read about developing your own AI systems in the book
[https://psichix.github.io/emergent/](https://psichix.github.io/emergent/)
## Media
#### Utility AI:
![Utility AI](./media/utility-ai.gif)## Roadmap
- [ ] Create a small demo project to showcase the usage of this library.
- [ ] Write a book describing how AI works in details and how to develop AI for games.
- [ ] Research adding support for evolution-based neural networks?