Gym is a toolkit for developing and comparing reinforcement learning algorithms. It supports teaching agents everything from walking to playing games like Pong or Pinball.
https://gym.openai.com
https://github.com/openai
It's really easy to get started and it might give you some good ideas.