emergent

Crates.ioemergent
lib.rsemergent
version1.7.0
sourcesrc
created_at2019-04-12 12:53:00.217564
updated_at2024-01-08 01:57:10.340357
descriptionToolset for producing emergent gameplay for games written in Rust
homepagehttps://github.com/PsichiX/emergent
repositoryhttps://github.com/PsichiX/emergent
max_upload_size
id127450
size176,351
Patryk BudzyƄski (PsichiX)

documentation

https://docs.rs/emergent

README

Emergent AI

Crates.ioDocs.rs

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

Read about developing your own AI systems in the book

https://psichix.github.io/emergent/

Media

Utility AI:

Utility AI

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?
Commit count: 33

cargo fmt