Rogue C# – Creating an App with Class
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.
Because technology should be the means, not the end.
Modern science is based on the Latin injunction ignoramus – ‘we do not know’. It assumes that we don’t know everything. Even more critically, it accepts that the things that we think we know could be proven wrong as we gain more knowledge.
No concept, idea or theory is sacred and beyond challenge.Yuval Noah Harrari, Sapiens: A Brief History of Humankind
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.
As part of my return to C#, I decided to review EntityFramework Core, the Object Relational Mapper (ORM) that makes it so much easier to pass data between your database and a .NET program. After wading through documentation, trying to put the basics together, I decided to do a short video on it as part…
Read More “Latest Project: EntityFramework C# Demo with SQLite” »
It’s been too long I dived back into C# this past week by revisiting one of my old projects – the web log viewer that I used to review the server logs for my website. It had previously been done in the .NET Framework 4.something and I wanted a new version that would handle a…
Several years ago, during my short time as a programming instructor, I came up with an assignment for the students where I asked them to create a financial calculator that would calculate mortgage statistics and savings accumulated with compound interest. Of course, I designed my own version and posted it to Github. While looking over…
Read More “C# Project Review – Mortgage and Savings Calculations” »
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.