-
Notifications
You must be signed in to change notification settings - Fork 48
Advancing and copying the state
Raluca D. Gaina edited this page Feb 12, 2018
·
1 revision
The state observation is given to the agent, as an object of the class StateObservation, as a tool to query the game state, and therefore have some information to decide the next action to take. It also includes a Forward Model that allows the agent to advance the game state (by simulating that an action is taken) and copy it. These are the two methods that allow this:
Forward Model functions | Description |
---|---|
void advance(Types.ACTIONS action) | Advances the state using the action passed as the move of the agent. It updates all entities in the game. It modifies the object 'this' to represent the next state after the action has been executed and all entities have moved. Note: stochastic events will not be necessarily the same as in the real game. |
StateObservation copy() | Returns an exact copy of the state observation object. |
-
GVG Framework
- Tracks Description
- Code Structure
- Creating Controllers
- Creating Multi Player Controllers
- Creating Level Generators
- Running & Testing Level Generators
- Creating Rule Generators
- Running & Testing Rule Generators
-
Forward Model and State Observation
- Advancing and copying the state
- Advancing and copying the state (2 Player)
- Querying the state of the game
- Querying the state of the game (2 Player)
- Information about the state of the Avatar
- Information about the state of the Avatar (2 Player)
- Information about events happened in the game
- Information about other sprites in the game
- Game Description Class
- Constraints
- Game Analyzer Class
- Level Analyzer Class
- Sprite Level Description Class
- Sprite, Termination, and Interaction Data Class
- Level Mapping Class
- Competition Specifications
- VGDL Language