
apt-get install libncurses5-dev on Ubuntu). I'm writing this on OSX Mavericks (which requires installing XCode), but other flavors of Unix should have the headers available for installation if they don't ship with the OS (e.g. Make sure you have a C compiler installed on your machine and have the ncurses headers available. To show the most basic usage of how you would use the ncurses library in your program, let's create a simple simulation of a "ball" bouncing back and forth across the screen:

You might not be familiar with the name "ncurses", but you use it every time you type the characters t-o-p into your terminal.

It's a modern implementation of the original curses library that shipped with early versions of BSD UNIX. If you've ever wanted to create a simple video game that oozes lo-fi 1980's home computer nostalgia, you should definitely check out the ncurses programming library.
