Mini-ported other roguelike curses test into C++ and then am experimenting with functions.