I created a flappy bird game with pyGame -> playable source code here
Then, I used genetic algorithm and neural network to let it play itself (library NEAT) and modified the game based on ai. It takes 3 input and uses sigmoid to decide whether it will jump or not. (can be improved)