-
Book Overview & Buying
-
Table Of Contents
Practical C# Projects with .NET
By :
In this chapter we’ll cover a role playing game (RPG) built in C# with Spectre.Console for input and output, external JSON data files and infinite world generation with Perlin Noise.Our implementation of this project in this chapter, shown in Figure 3.1, will focus on generating a game world using procedural generation, displaying that world to the player, allowing the player to move around the map, and implementing simple enemies that roam around the map and attack the player.

While minimal, our project this chapter represents an interactive game with an explorable game world and ways for the player to lose. Because of this, we also have a small “Game Over” screen that displays the following text if the player’s health reaches zero:
Game Over
Press any key to exit..
This means that overall our project has the following core requirements: