cpp code to run 'Flappy Bird' game on the terminal