
Rogue C# - The Dungeon Pharmacopeia
In this chapter of Rogue C#, I add potions to the roguelike game with all their varying effects and continue to test the codebase.
Software consultant and technology author based in Ocala, Florida. Author of "Self-Guided SQL: Build Your SQL Skills with SQLite" and "MySQL Explained". Visit main site at AndrewComeau.com for more information.
Subscribe:.rss.atom.json.md.m3u.pls
Live Last read · last published · next check

In this chapter of Rogue C#, I add potions to the roguelike game with all their varying effects and continue to test the codebase.

My coding project just stood up and demanded recognition as software. In this chapter of Rogue C#, we establish a couple of ground rules.

Traps are an important part of a roguelike. I show how to code them into the game and how to refactor a project to add class inheritance.

Sometimes it's just better to start over and rewrite the algorithm. In this roguelike, the function for moving the monsters around the map was a good example.

In this update to the roguelike game, I add a few more scrolls and figure out how to code them without breaking the code.

In this chapter, I show the proces of adding the Scroll of Confuse Monster to our roguelike game and identify some more design issues.

In this chapter of Rogue C#, I show the importance of reviewing what the code is actually doing before trying to change it.

It's time to add more inventory items to this roguelike but first we need a way to define their abilities without getting lost in the code.

The method for processing user commands was getting out of control so I decided on some creative use of the Dictionary class to automate things.

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 of Rogue C#, a flowchart of the Game startup process points me to a problem assigning inventory to the player.

Part of the Rogue C# seres on AndrewComeau.com - I decided an important part of the project rescue was to look over the classes and see who was talking to whom.

You've seen it.

From the Rogue C#

Requirements come before code.

Reviving a software development project.

Previously published in September 2025 on AndrewComeau.com.
Recently, I picked up a used flat screen TV and thought it would be good if I could connect my laptop to it from across the room.

Refining my uses for generative A.I.

Sometimes you need to see the process from above.