Conway's Game of Life using ncurses