Creating a roguelike game based on a libtcod tutorial