Skip to content
Jannis Weil edited this page Apr 14, 2023 · 1 revision

Welcome to the PommerLearn wiki! You can find additional information about the project here.

Input Representation

The input representation of the model is defined in the file cpp/src/data_representation.cpp. We represent the agent's observation with 23 feature channels of board size 11x11. The table below summarizes the individual channels.

Category Id Description Values
Obstacles 0
1
wall positions
wooden box positions
$\{0,\, 1\}$
$\{0,\, 1\}$
Items 2
3
4
increase bomb count
increase bomb strength
kick
$\{0,\, 1\}$
$\{0,\, 1\}$
$\{0,\, 1\}$
Bombs 5
6
7
8
position and countdown
blast strength
horizontal movement
vertical movement
$[0,\, 1]$, $0\rightarrow 1$
$[0,\, 1]$
$\{-1,\, 0,\, 1\}$
$\{-1,\, 0,\, 1\}$
Flames 9 position and life $[0,\, 1]$, $1 \rightarrow 0$
Players 10
11
12
13
position self
position relative 1
position relative 2
position relative 3
$\{0,\, 1\}$
$\{0,\, 1\}$
$\{0,\, 1\}$
$\{0,\, 1\}$
Scalar Agent
Attributes
14
15
16
17
18
19
20
21
22
bomb strength self
bomb count self
max bomb count self
can kick self
alive self
alive relative 1
alive relative 2
alive relative 3
environment steps
$[0,\, 1]$
$[0,\, 1]$
$[0,\, 1]$
$\{0,\, 1\}$
$\{0,\, 1\}$
$\{0,\, 1\}$
$\{0,\, 1\}$
$\{0,\, 1\}$
$[0,\, 1]$, $0 \rightarrow 1$

Clone this wiki locally