Constants enable us to store values that will be used in the program and give them context within the code. Constants will be used heavily in our roguelike game and this chapter shows how they can be used to construct the map.
Object Oriented Programming (OOP) is an important concept to understand for programmers of any language. In this chapter, we look at the basics of OOP and add the MapLevel class to our project.
0
As we start writing the code to generate the dungeon maps, we need a solid algorithm that will reliably create rooms and link them together.
0
Visual Studio provides a wealth of controls that you can use in Windows Forms apps including buttons, text boxes and combo boxes. In this chapter, we’ll add a few basic controls to the project to display the game output.
0
Every program has a starting point and ours will begin with the creation of the Windows Forms project which will be the basis of our game. In this chapter, we also look at the basics of C# and .NET.
0
The original Rogue game relied heavily on ASCII graphics. This chapter is an overview of ASCII and Unicode and how it’s still used.
0
Determining the requirements for a program is an important first step in writing any software. Detailed requirements form an outline and direction for development.
0
The question of what programming language to learn is a common one for beginners. Here are a couple things to consider when starting out.
0
An introduction to the Rogue C# series in which we’ll be designing a roguelike game closely based on the original Rogue and exploring how an application is designed from start to finish.
0
When you’re learning a new subject, there is no substitute for hands-on experience and this is especially true with programming. You can spend all the time you want reading about a programming language and seeing examples but until you get in there and figure something out for yourself, you’re not really learning anything. This is […]
0
0