Skip to content

Simple environment where a Reinforcement Learning agent has to find a treasure in a room with different obstacles.

Notifications You must be signed in to change notification settings

beltran99/TreasureRoom-RL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TreasureRoom-RL

Simple environment where a Reinforcement Learning agent has to find a treasure in a room with different obstacles.

Rules of the game

Our agent lies in a room discretized in $N×N$ cells. The agent can move from one cell to an adjacent one using one of the following actions:

  • MOVE UP
  • MOVE LEFT
  • MOVE RIGHT
  • MOVE DOWN

room

The room contains three type of special cells:

  1. A wall the agent cannot pass through
  2. A cell with a treasure that represents the goal of the game
  3. A cell with poison

And all of the other cells are empty, allowing regular movement of the agent inside the room.

example

The agent may start at any position except for the wall cell. If the agent reaches either the treasure or the poison block, the game is over.

The agent receives a reward of +10 if it reaches the treasure block, a reward of −10 if it reaches the poison block and −1 point for the other blocks.

About

Simple environment where a Reinforcement Learning agent has to find a treasure in a room with different obstacles.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages