Apr-23-2022, 08:46 AM
(This post was last modified: Apr-23-2022, 08:46 AM by deanhystad.)
I would start by verifying the board. For each tile verify the neighbors, actions and q_values are correct. You cannot debug the problem if the starting conditions are wrong.
You use insert() to modify actions and q_values in board.__init__(). Should you be using indexing?
You never call update_q(). I don't know if that is a bug or just old unused code.
You use insert() to modify actions and q_values in board.__init__(). Should you be using indexing?
You never call update_q(). I don't know if that is a bug or just old unused code.