So I just read about deep Q-Learning which is using a neural network for optimization instead of Q-table.
I see the example here: https://yanpanlau.github.io/2016/07/10/FlappyBird-Keras.html and he use CNN to get the Q-Value.
My confusion is on the last layer of his neural net, neurons in the output layer each of them represents an action (flap, or not flap) and I also see the other projects the output layer also represents all available actions (move-left, stop, etc.)
How to represent of all available action of a Chess game? every pawn have unique and available movement, we also need to choose how far it will move (rook can move more than one square). I've read Giraffe chess engine's paper and can't find how he represents the output layer (I'll read once again).
I hope somebody here can give a nice explanation about how to design NN architecture in Q-learning, I'm new in reinforcement learning. Thank you