c + ncurses flappy bird in the terminal