Following a roguelike tutorial in C++ with libtcod