Skip to content

MicheleCancilla/HanoiTower

Repository files navigation

HanoiTower

Hanoi Tower implemented in MATLAB using Q-learning

In order to play a "console" game you have to run "towerOfHanoi.m" script, setting the follow parameters: {nOfDisks, gamma, alpha, epsilon}

The training results will be stored in a "hanoi-x.mat" file, where x is the number of the disks used in game.

The script "GUI.m" allow to play a GUI game. This script need a "hanoi-x.mat" file frowm which read the matrix of actions Q. Every time "GUI.m" is lanched, the number of disks to use is requested, after that the game is automatically showed.

About

Hanoi Tower implemented in MATLAB using Q-learning

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages