I am trying to build a chess AI with a neural network. To learn about how neural networks work and refresh my programming experience. I have some experience with classifiers but not yet with neural networks, so feel free to correct wrong assumptions and mistakes I make.
I plan to feed the neural net the current board position and all possible moves to choose from and after the game in the final position the game result.
While coding out the chess game I came across 2 notations, a FEN (board position) and a PGN (move sequence that led to the current board position).
This got me thinking, I initially chose FEN as data format to feed the net because that looked easier and lighter to process. I am now wondering however if there is an added value for the neural net to know the sequence in which a position came to be (or does it know this due to the nature of reinforcement learning?).
Take a checkmate for example. For us humans we can look backward and realize that the previous position was a 'mate in one' move. But will the neural net be able to relate the two positions? (and be able to 'look ahead' because that move led to success when it previously encountered it so it is reinforced in its structure?)
I can imagine that it doesn't matter because the net encountered them in sequence, so it will build up the association to that position (if this makes sense) but I am a bit unsure.
so to summarize, do you think I should use a FEN to feed in the current position or a PGN, or maybe even both?