title: Implementing Neural Network in python using pygame and tensorflow
body: <p>I have studied neural network theory and know how they work on a basic level. I have completed a few exercises on the coursera and I know how to define layers and train the network in Python but I can only do this on the sample datasets present. So I made a game using pygame and wanted to make a neural network to train for it but I don't understand how I can make that work. </p>
  
  <p>I know what my input layers will be, I know what my output layer would be, I just can not understand how to implement a reward system to improve the network. I understand how to make test data and train it against it but that's supervised learning which is not what I need, I want to implement q-learning in this project</p>