Simple pong game in ncurses