dianatatu / MAS

Tile World

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Random notes

  • obstacles are cells with height > 0
  • holes are cells with height < 0
  • cells that are not holes have None color
{'H': 4,
 'W': 4,
 'cells': [[{'agents': [],
             'color': 'green',
             'h': -2,
             'tiles': [],
             'x': 0,
             'y': 0},
            {'agents': [],
             'color': 'none',
             'h': 0,
             'tiles': [],
             'x': 0,
             'y': 1},
            {'agents': [],
             'color': 'none',
             'h': 0,
             'tiles': [],
             'x': 0,
             'y': 2},
            {'agents': [(1, 0, 3, 'green')],
             'color': 'none',
             'h': 0,
             'tiles': [],
             'x': 0,
             'y': 3}],
           [{'agents': [],
             'color': 'none',
             'h': 0,
             'tiles': [],
             'x': 1,
             'y': 0},
            {'agents': [],
             'color': 'none',
             'h': 1,
             'tiles': [],
             'x': 1,
             'y': 1},
            {'agents': [],
             'color': 'blue',
             'h': -2,
             'tiles': [],
             'x': 1,
             'y': 2},
            {'agents': [],
             'color': 'none',
             'h': 0,
             'tiles': ['green'],
             'x': 1,
             'y': 3}],
           [{'agents': [],
             'color': 'none',
             'h': 0,
             'tiles': ['green'],
             'x': 2,
             'y': 0},
            {'agents': [],
             'color': 'none',
             'h': 1,
             'tiles': [],
             'x': 2,
             'y': 1},
            {'agents': [],
             'color': 'none',
             'h': 1,
             'tiles': [],
             'x': 2,
             'y': 2},
            {'agents': [],
             'color': 'none',
             'h': 0,
             'tiles': ['blue', 'blue'],
             'x': 2,
             'y': 3}],
           [{'agents': [],
             'color': 'none',
             'h': 0,
             'tiles': [],
             'x': 3,
             'y': 0},
            {'agents': [('agent0', 3, 1, 'blue')],
             'color': 'none',
             'h': 0,
             'tiles': [],
             'x': 3,
             'y': 1},
            {'agents': [],
             'color': 'none',
             'h': 0,
             'tiles': [],
             'x': 3,
             'y': 2},
            {'agents': [],
             'color': 'none',
             'h': 0,
             'tiles': [],
             'x': 3,
             'y': 3}]]}

About

Tile World


Languages

Language:Python 100.0%