Roguelike engine in C++