Methods
# act(action) → {number}
Let player act.
Parameters:
Name | Type | Description |
---|---|---|
action |
GridWorldAction
|
The action. |
The reward.
number
Class
The player.
Let player act.
Name | Type | Description |
---|---|---|
action |
GridWorldAction
|
The action. |
The reward.
number