This is a little prototype I made recently while learning about reinforcement learning and to explore the use of machine learning in games. The learned model that the computer-controlled opponent uses is by no means optimal, but I think it still gives an interesting experience. Enjoy!