- Create a virtual environment with
python -m venv venv
- Activate the environment with running
venv\Scripts\activate
- After that install the dependencies with running
pip install -r /path/to/requirements.txt
- With adjusting the sleep times you can visually see the learning process.
- After this process it will generate the q-table and saved to
q_table.json
. - The q-table plot and the direction values will be plotted in the screen.
- Input a starting position in the beginning of the program.