Browse Source

actor -> agent

main
Adrian Heine 3 years ago
parent
commit
22ffcbb1aa
  1. 6
      README.md

6
README.md

@ -1,6 +1,6 @@
# gntag # gntag
gntag (from German »Guten Tag«: »good day«, roughly equivalent to »g'day«) is an actor-based simulation of [tag](https://en.wikipedia.org/wiki/Tag_(game)) implemented in rust.
gntag (from German »Guten Tag«: »good day«, roughly equivalent to »g'day«) is an agent-based simulation of [tag](https://en.wikipedia.org/wiki/Tag_(game)) implemented in rust.
## Running ## Running
@ -14,7 +14,7 @@ To exit the simulation, press q, ESC or Ctrl+c.
## Using as a library ## Using as a library
`src/main.rs` is a pretty minimal example of the currently exposed high-level functionality. `gntag::actor` includes simpler actor iplementations and all the types, `gntag::world` contains `ActualWorld` and `WorldState`.
`src/main.rs` is a pretty minimal example of the currently exposed high-level functionality. `gntag::agent` includes simpler agent iplementations and all the types, `gntag::world` contains `ActualWorld` and `WorldState`.
## Tests ## Tests
@ -32,6 +32,6 @@ cargo test
* The world is a simple two-dimensional rectangle with integer positions * The world is a simple two-dimensional rectangle with integer positions
* Agents can occupy the same space * Agents can occupy the same space
* Agents can make one move per simulation step, either by trying to move by at most one unit in both directions or by trying to tag another actor
* Agents can make one move per simulation step, either by trying to move by at most one unit in both directions or by trying to tag another agent
* Agents need to be at most one unit away in both directions from others in order to tag them * Agents need to be at most one unit away in both directions from others in order to tag them
* Agents act at the same time and their actions are validated against the previous state * Agents act at the same time and their actions are validated against the previous state
Loading…
Cancel
Save