it is a classical game "snake" using ncurses on linux platform