Rogue C# – How Much Public Access is Too Much?
In this chapter, I review the access modifiers available in C# and how they affect where properties and procedures can be accessed in the code.
Because technology should be the means, not the end.
How often it is that the angry man rages denial of what his inner self is telling him.
Frank Herbert, Dune
In this chapter, I review the access modifiers available in C# and how they affect where properties and procedures can be accessed in the code.
In the latest chapter, a flowchart of the Game startup process points me to a problem assigning inventory to the player.
The classes in the Rogue C# code were developed over time and I decided an important part of the project rescue was to look them over and see who was talking to whom.
While quality code should be well-commented and easy to follow, sometimes you need other types of documentation to actually see the shape of a process. In this chapter, I flowchart the map creation process and find ways to improve the code.
In this chapter, we’re going back to the official list of requirements for our Roguelike and expanding them to cover the game from start to finish.
In this update, I’m ditching the monochrome map and adding some color graphics on the map with text drawing via the TextRenderer class.
It’s been a few years since the last report from the Rogue C# project and the dungeon retains its mysteries. Time to dust off the project notes and find what awaits discovery.
Coming back around to the inventory side of the game, I decided to add some extra variety to the available items, starting with the scrolls and potions.
For this update, I decided to knock out a couple of quick features – the Play Again feature and the spawning of new monsters mid-level. A couple of bugs got squashed along the way.
The game has a solid foundation and now we start building on it. There are still a lot of features to finish and bugs to work out along the way, especially the individual inventory items that will help the player survive in the dungeons.