so far i have a game, i run 1000 rounds of the game performing random moves. The state of the board , the reward and the action taken are all stored.
then the same game is played, but befor each action is chosen, a comparison check is done to see which previous observations were similar to this one.
Then when a list of similar observations are created, the list is divided into lists for each action taken after that observation.
the list with the highest average reward is then chosen and that action is taken. (this takes like 10 seconds for a single choice).
Ive built plenty of neural networks with tensorflow but never from complete scratch.
ive made a few layers of neurons, just not sure how to employ them.