Skip to content

underclass6/RLProject

Repository files navigation

RLProject

Simple benchmark for RL algorithms.


Installation:

python -m pip install -r requirements.txt

Original Version:

A logging farm game.
Run python main.py to start playing.
Control of game:

Keyboard Action
Up Arrow Move cursor up
Down Arrow Move cursor Down
Left Arrow Move cursor left
Right Arrow Move cursor right
c Cut tree
n Next year
0 Cut all trees with age 0
1 Cut all trees with age 1
2 Cut all trees with age 2
3 Cut all trees with age 3
4 Cut all trees with age 4
5 Cut all trees with age 5
6 Cut all trees with age 6
7 Cut all trees with age 7

Final goal of game: Obtain as much profit(money) as possible in the limited number of years.

Version 1

The simplest version. Trees with age 7 will seed seeds around them.
Environment is in Tree_env_1.py.
Training and Evaluation: python [algorithm].py

Version 1 Value_of_GHG

Added a threshold of CO2 absorption that needs to surpass.
Environment is in Tree_env_1.py.
Training and Evaluation: python [algorithm].py

Version 1.2

Combined value of tree and CO2 into one reward.
Environment is in Tree_env_1.py.
Training and Evaluation: python [algorithm].py

Version 1.5

Took soil fertility into consideration.
Environment is in Tree_env_1.py.
Training and Evaluation: python [algorithm].py

Version 2.0

Integrated all ideas of previous versions.
Environment is in Tree_env_1.py.
Training and Evaluation: python [algorithm].py

About

Simple benchmark for RL algorithms

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages