Comeau Software Solutions

Making sense of technology since 2000.

Menu
  • Home / Updates
  • Services / Contact Us
  • Rogue C# Project Page
  • More Resources
    • Join Ocala’s Tech Community!
    • YouTube Channel
    • Personal Site
Menu

Category: Programming

Rogue C# – Wandering the Map

Posted on March 20, 2023July 10, 2023 by Andrew Comeau

Now that the program can respond to different keys, it’s time to let the player start wandering the map. This chapter shows one way of doing this while making sure the player stays within the right boundaries.

Read more

Responding to Key Events in C#

Posted on March 17, 2023July 10, 2023 by Andrew Comeau

One of the recognizable features of the original Rogue game was the long list of key commands that the player used for all actions, including eating, searching and using objects. Now we’ll see how we can implement those in our own roguelike.

Read more

Rogue C# – Gold Rush

Posted on March 7, 2023July 10, 2023 by Andrew Comeau

At this point, our game can generate a random map and there are classes to control the game itself and define a player. Now I want to spread some gold around the rooms for the player to collect. In the process, we’ll be making some improvements to how the program handles Random values.

Read more

Rogue C# – Building the Class Structure

Posted on March 6, 2023July 10, 2023 by Andrew Comeau

Programs often use multiple classes that work together to provide structure to the program. In this chapter, we’ll expand our roguelike with the new Game and Player classes.

Read more

Rogue C# – Verifying the Game Map

Posted on March 2, 2023July 10, 2023 by Andrew Comeau

What do you do when no algorithm seems to work without problems? In this chapter, we’ll see how not every problem is solved in a straight line and how some can be solved in phases.

Read more

Connecting Rooms on the Game Map

Posted on February 24, 2023July 10, 2023 by Andrew Comeau

Completing the hallways on a roguelike map is one of the most challenging parts of the game and it goes back to the importance of the right algorithm that will teach the computer to do what you take for granted.

Read more

Concatenation and the StringBuilder Class

Posted on February 22, 2023July 10, 2023 by Andrew Comeau

String manipulation is a common task in programming and C# has a couple of different methods for performing large numbers of edits to a selection of text. In this chapter, we’ll compare them and see how efficient the StringBuilder class actually is.

Read more

Enumerations and Dictionaries in C#

Posted on February 19, 2023July 10, 2023 by Andrew Comeau

We need just a little bit of supporting code to actually plot the rooms on the map. In this chapter, you’ll see examples of enumerations and dictionaries in C#. You’ll also see a way to check a char value against many others at once.

Read more

Creating Roguelike Map Rooms

Posted on February 18, 2023July 10, 2023 by Andrew Comeau

Roguelike maps are made up of a network of rooms and the algorithm for creating the individual rooms is important. In this chapter, we’ll look at the use of loops and arrays in maintaining our network of dungeon rooms.

Read more

Class Properties and Constructors

Posted on February 18, 2023July 10, 2023 by Andrew Comeau

Properties and constructors are basic elements of C# classes and this chapter shows examples of how they’ll be used to describe and create maps in the program.

Read more
  • Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • …
  • 8
  • Next

ComeauSoftware.com provides learning resources, including tutorials and videos, to guide you in understanding today's technology. Please check out our YouTube channel and bookmark this site to stay informed of upcoming projects.

Comeau Software Solutions also provides software consultation, including the development of database solutions, in Ocala, Florida. This includes rescuing Microsoft Access database projects and assistance in move to other solutions. Please contact us for more information on how we can help you with your project needs.

Available on Amazon.com


Algorithms to Live By: The Computer Science of Human Decisions

Brian Christian, Tom Griffiths

  • Articles
  • C#
  • Careers
  • Commentary
  • Database Design
  • Databases
  • Hardware
  • How-to
  • Humor
  • Internet
  • Jobs
  • Linux
  • Microsoft Access
  • MySQL
  • Ocala I.T. Professionals
  • Personal
  • Personal Tech
  • Programming
  • Resources
  • Reviews
  • Rogue C# Series
  • Software
  • SQL
  • Uncategorized
  • Web Design
  • Writing
©2023 Comeau Software Solutions | Theme by SuperbThemes