Although there are a large number of web links on Q learning, some of the useful ones are as follows: https://en.wikipedia.org/wiki/Q learning http://mnemstudio.org/path-finding-q-learning-tutorial.htm http://artint.info/html/ArtInt_265.html https://medium.com/emergent-future/simple-reinforcement-learning-with-tensorflow-part-0-q-learning-with-tables-and-neural-networks-d195264329d0