-
Notifications
You must be signed in to change notification settings - Fork 48
Generate a test level and forward model
Raluca D. Gaina edited this page Feb 12, 2018
·
2 revisions
GameDescription class allows level generator to test their levels. It transforms an input string of characters to a level and support you with a State Observation and Forward Model. The input characters should be the registered in the game level mapping, otherwise you need to supply your own level mapping hashmap (for easy constructing your hashmap check LevelMapping class). The following table describes these functions in details:
GameDescription functions | Description |
StateObservation testLevel(String level) | This function takes a level string and transform it using either the main level mapping hashmap or the supplied hashmap to construct a StateObservation object. The StateObservation object can be used to simulate the level and evaluate it. |
StateObservation testLevel(String level, HashMap\> charMapping) |
-
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