Roguelike core game logic. A nicer front-end will later be added to present the core to the end user.