Some games I have written with very basic graphics. I am currently working on playing games using deep learning - Atari games using Deep Reinforcement learning, Pokemon(yes!), Chess and Pong. Will upload them soon.
Basically, the program uses Monte Carlo Simulations to probablistically determine its next move.
Player --- 'X' & Algorithm --- 'O'
Play it online - https://jsfiddle.net/geeky/8fLt3wwt/