Original Post
I need some help on theory and design for a Neural Network to learn to play a game. I have the 2048 game in mind, although I would appreciate general guidelines that work for a general category of similar problems. The 2048 game can be easily solved through the Expecti-max algorith. Nonetheless, I want to use Neural Networks for my own learning experience. So, please bear with me even if Neural Networks is not the easiest way to solve this game. Enough with introductions, and let me get into the heart of the matter: I am familiar with NN with Back-propagation learning algorithm. The problem is that this algorithm requires a set of inputs and desired outputs. The inputs are the state of the game, and the desired outputs are the best moves in a given state. However, I don't know which moves are the best for a given state. I want the NN to figure this out. I intend to evaluate the performance of the game based on a FULL game play. So, I want the NN to perform moves and after the game reaches a terminal state, I can then evaluate the performance of the NN and calculate a Fitness Function. How can I make the NN learn the best moves by evaluating the gameplay after a full session, rather than a move-by-move manner?