nosas / blog

Personal blog for learning all things AI! (ML/CV/RL) Includes articles, code snippets, and detailed examples.
https://fars.io
2 stars 1 forks source link

Create Map validator #32

Open nosas opened 2 years ago

nosas commented 2 years ago

When loading a Map, we should inspect the object layers and verify they contain the proper names and types.

For example, the Wall objects should have Wall as the name and type in order for our Map/Game to render the objects properly and for our Agent to interact with Walls properly.

nosas commented 2 years ago

Additional verifications include:

  1. There exists at least one default goal/teleporter
  2. Tiles from one layer do not overlap tiles on another layer