Reward function for a board game

Hello everyone, I am writing a self play trained deepQ for 2 player board game. Game enviroment is 7×7 and has few simple rules. Every turn player should move 1 tile in one of the 8 directions and close a unclosed tile. Objective is making enemy unmovable.

I have combined two action into 1 action. So my action space became 8*49 = 392 but I am having a hard time defining proper reward function so that agent wont suck.

How would you define a reward function for this game?

submitted by /u/erenpal01
[link] [comments]

Leave a Reply

The Future Is A.I. !
To top