Neural Network and Machine Learning in a simple game