actor -> agent
This commit is contained in:
parent
4f2f0431d1
commit
22ffcbb1aa
1 changed files with 3 additions and 3 deletions
|
|
@ -1,6 +1,6 @@
|
|||
# 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
|
||||
|
||||
|
|
@ -14,7 +14,7 @@ To exit the simulation, press q, ESC or Ctrl+c.
|
|||
|
||||
## 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
|
||||
|
||||
|
|
@ -32,6 +32,6 @@ cargo test
|
|||
|
||||
* The world is a simple two-dimensional rectangle with integer positions
|
||||
* 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 act at the same time and their actions are validated against the previous state
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue