C-Sharp Programming Beginner Tutorial: No-Frills Dungeon Crawler (Part 1)

View this thread on: d.buzz | hive.blog | peakd.com | ecency.com
·@dbzfan4awhile·
0.000 HBD
C-Sharp Programming Beginner Tutorial: No-Frills Dungeon Crawler (Part 1)
Hey everyone!! I apologize for the delay in getting back to my Tutorials. My days have been super-hectic and busy, which has made things very difficult for me to get these done. On top of that, the program that I have been building has been giving me some fits and I've scratched it and started over about 4 times already in an attempt to make this closer to the novice level. This will definitely test your understanding skills (as well as my teaching skills).

![](https://steemitimages.com/DQmXFpkUvdJWDTWzvmoLQBPjHcNm378rBCo6m7tF7e6r9Q1/image.png)
[I _wish_ this were a representative image from the game](https://www.google.com/search?biw=1280&bih=633&tbm=isch&sa=1&ei=vC9rWrvYLIHYzwKDgqmYBA&q=dungeon&oq=dungeon&gs_l=psy-ab.3..0l10.215307.216278.0.217138.7.7.0.0.0.0.110.563.6j1.7.0....0...1c.1.64.psy-ab..0.7.562...0i67k1.0.ZHvhi0HcYQg#imgrc=qj_VuyQlsMHqYM:)

In order to simplify this and make sure it's not a super-long Post, I will begin this mini-series on the _No-Frills Dungeon Crawler_ by going over the concept and initial visuals first. As the mini-series goes along, I will be adding more to this game so that we have an actual game with scoring, enemies, and a start and finish. I plan on this mini-series being no less than 4 or 5 parts.

So, with no further gabbing and stalling...

___

![](https://steemitimages.com/DQmaxzhckdVj8aKvumjXDFdyq7CFWHFfzL1rLBhZCwhxeEN/image.png)

_**The Current State of the Abstract Concept**_

Ok, so the concept in essence is a fairly well-known and popular one: walk through a dungeon without dying. 

In this instance there is no reason (yet) for you to be in this setting at all. I plan on adding a reason as I continue as well as a small splash screen to show this reasoning. I'm not going into a great deal of complexity, but it will definitely give you an idea of where you could go from here to add on to the game.

___

![](https://steemitimages.com/DQmYDPPUpbu238EcrRnGr6K6wGYH82pvRoxQMQ7Ghipr1dk/image.png)

_**A New Hope for the Abstract Concept**_

So, I'm considering the following for the Final Concept (let me know if it sounds legitimate and fun):

**The Story**: _Long Ago in a Fantasy Far, Far Away there was a great Kingdom in the Realm of Kara Noggus. In this Kingdom, called Val Davros, there lived a young King and his bride-to-be. King Agaron was set to marry the beautiful Princess Lana of Mira Durh._

_The day before the wedding, an evil wizard arrived, his magical powers on full display. Angry and jealous of the young King's prestigious position, wanting the young Princess for his own, Zankar stole her away. Casting a great spell, he was able to secret her from the castle and hide her away in his magical lair, where she would stay young forever with him._

![](https://steemitimages.com/DQmYBuucBT6URJ3SSwjpg6SoXxofkYUHoXMryaEyVJUbY1B/image.png)
[The King, perhaps?](https://www.google.com/search?biw=1280&bih=633&tbm=isch&sa=1&ei=ljBrWqa_LcH8zgKK8pTwCQ&q=king+clipart&oq=king+clipart&gs_l=psy-ab.3..0l10.354884.358042.0.358225.12.10.0.2.2.0.118.820.9j1.10.0....0...1c.1.64.psy-ab..0.12.832...0i67k1j0i10k1.0.Pd0lZQiiDoM#imgrc=wApeK1DqyfoGMM:)

_Years roll by, as they are apt to do with time, and the King grew old and weary of the search. At the ripe old age of 37 he gave up looking for a way to be with Princess Lana and married her twin sister, Princess Goya. His kingdom, broken and split by the effort, tore apart and he was overthrown. He died a lonely man in a desolate, destroyed land while Princess Goya left to be Queen of a different Kingdom._

![](https://steemitimages.com/DQmZdkzWwspHWFrEruR3ybfwtBbM7RWFHyQJGkk6sQNtao1/image.png)
[Maybe Princess Lana/Goya?](https://www.google.com/search?biw=1280&bih=633&tbm=isch&sa=1&ei=LjJrWvLZAcPrzgKhj6DACg&q=princess+clipart&oq=princess+clipart&gs_l=psy-ab.3..0l10.2863.5010.0.5333.10.9.1.0.0.0.149.808.7j2.9.0....0...1c.1.64.psy-ab..2.8.657...0i7i30k1j0i67k1j0i13k1.0.9D80Hq0jjZc#imgrc=va_qCRnvmYbWzM:)

_Good Queen Goya, missing her sister and feeling the bond with her become tense, she summoned all of the knights in the land. After much competition, you are chosen as the Knight to save Princess Lana from the Evil Wizard Zankar. With his last Magic, the Queen's Sorceror Melidrytan was able to divine the whereabouts of Goya's twin. She was being held in a magicked catacomb of shifting walls deep within the bowels of the Earth. This is where you come in._

_Now, armed with only yourself and a talisman of luck that allows you to breach the barrier, you are sent in search of Princess Lana. Your reward: Gold, Treasure, Prestige, Power, and Lana's Hand-in-Marriage. How will you fare against the magical shifting walls? How will you be able to survive?_

![](https://steemitimages.com/DQmaSxpkn7CyDhegTL79LwfDWyoAz2ZNrPyfj38tkinvp89/image.png)
[Zankar?](https://www.google.com/search?biw=1280&bih=633&tbm=isch&sa=1&ei=yzJrWsaZDYmbzwKv_pGYBw&q=evil+wizard+free+clipart&oq=evil+wizard+free+clipart&gs_l=psy-ab.3...1345.2006.0.2221.5.5.0.0.0.0.80.359.5.5.0....0...1c.1.64.psy-ab..0.2.146...0i13k1.0.kTYUO-ABoyc#imgrc=jjzYfnokEWA8BM:)

**The Game-Play**: _There are directional buttons that can be clicked to turn to the Left or Right as well as moving Forward or Backward. Obviously, if a wall is in your way, you cannot go that direction. Otherwise, you can move through any doorway to the next room, which will be a room with a random number of doorways. Just move through the corridors and hope that you can stumble upon the Princess._

![](https://steemitimages.com/DQmcqf466YYMUrZQgbGBJdnLw6D2CAXZhDBpBpQeCnGLzDT/image.png)
[Is he too cute to Battle against?](https://www.google.com/search?biw=1280&bih=633&tbm=isch&sa=1&ei=KDNrWtiQGY-YzwK0wZPQAg&q=monster+free+clipart&oq=monster+free+clipart&gs_l=psy-ab.3..0i8i7i30k1j0i8i30k1l9.99577.101029.0.101347.8.8.0.0.0.0.111.705.7j1.8.0....0...1c.1.64.psy-ab..0.8.700...0j0i67k1j0i7i30k1j0i7i5i30k1.0.XKKZDEHoYnA#imgrc=n8g_LK5faG1n1M:)

_Monsters crawl the dungeons also and you might enter a room with a monster. If you enter such a room, a turn-based battle will ensue. Defeat the monster and you will continue. Die, and it's **GAME OVER** for your adventures. Each Monster defeated will earn you prizes which increase your score._

![](https://steemitimages.com/DQmT8vcXPHHpRUPbQXssTK7dyJde4VQsZoNBj9TvLYecpWF/image.png)
[Game Over](https://www.google.com/search?biw=1280&bih=633&tbm=isch&sa=1&ei=jjNrWsGVJsqjzwLQ5bXYDg&q=game+over&oq=game+over&gs_l=psy-ab.3..0l10.58744.59555.0.59673.9.7.0.2.2.0.137.687.4j3.7.0....0...1c.1.64.psy-ab..0.9.693...0i67k1.0.8PYh6bmVklc#imgrc=N4owc0tLxgWLtM:)

_Treasures and objects of value are strewn around the corridors... the Wizard has been collecting treasure for a very long time, after all. Each room you enter has a chance of containing some sort of treasure or item. Some Items will Heal or Strengthen, some will be cursed. Take heed of what you do and you might become wealthy beyond anything you have ever dreamed!_

_**IF** you are strong and brave and dedicated (or lucky beyond anything), you will find the Wizard's Room. Once you find that room, do battle against Zankar himself and hope that you are powerful enough to defeat him. If you can win this final battle, you will be free to find the Princess... it's not as easy as the Princess being in the same room, so you will continue onward._

_Once you are able to find Princess Lana (only after the Wizard is defeated) you will unlock the Exit. Again, finding the Exit is not as simple as walking into the next room. So, continue onward, battle and collect extra treasures, and hopefully you will survive to find the Exit to the Catacombs. The Exit only appears once you have saved Princess Lana, since her curse binds the Exit closed._

___

![](https://steemitimages.com/DQmR5kmzX9Z85Zmwgtm9sPPDvLXdKPhcdadGUpBGpDRYivk/image.png)
[Winner!](https://www.google.com/search?biw=1280&bih=633&tbm=isch&sa=1&ei=yzNrWo-tDsXuzgLS-rjABA&q=you+have+won&oq=you+have+won&gs_l=psy-ab.3..0l10.198588.199810.0.200082.12.10.0.1.1.0.127.954.7j3.10.0....0...1c.1.64.psy-ab..1.11.957...0i67k1.0.sVW-AGYq_tE#imgrc=dgPOzgHAZ3LffM:)

_**Scoring a Win**_

So, scoring is still up-in-the-air, but we will have scoring for winning battles against monsters, collecting treasures, items, and other such things. In addition, there will be bonus points for Finding the Wizard, beating the Wizard, Saving the Princess, and Finding the Exit.

How much would you be able to score?

___

_**The Tutorials**_

Following are the Links to the Previous Tutorial Posts, just in case you are a new reader that needs to go to the beginning. I appreciate all of you, so please read these as often as you like:

[C# Programming Beginner Tutorial: Basic Concepts and Ideas](https://steemit.com/programming/@dbzfan4awhile/c-programming-beginner-tutorial-basic-concepts-and-ideas)

[C# Programming Beginner Tutorial: A First look at actual code using D&D as the Project](https://steemit.com/programming/@dbzfan4awhile/c-programming-beginner-tutorial-a-first-look-at-actual-code-using-d-and-d-as-the-project)

[C# Programming Beginner Tutorial: Variables & Data Types to Fuel the Gaming Engine!](https://steemit.com/steemiteduction/@dbzfan4awhile/c-programming-beginner-tutorial-variables-and-data-types-to-fuel-the-gaming-engine)

[C# Programming Beginner Tutorial: Designing the Game with Programming Logic in Mind (Part 1)](https://steemit.com/csharp-forbeginners/@dbzfan4awhile/c-programming-beginner-tutorial-designing-the-game-with-programming-logic-in-mind-part-1)

[C# Programming Beginner Tutorial: Designing the Game with Programming Logic in Mind (Part 2)](https://steemit.com/utopian-io/@dbzfan4awhile/c-programming-beginner-tutorial-designing-the-game-with-programming-logic-in-mind-part-2)

[C# Programming Beginner Tutorial: Designing the Game with Programming Logic in Mind (Part 3)](https://steemit.com/utopian-io/@dbzfan4awhile/https-steemit-com-utopian-io-dbzfan4awhile-c-programming-beginner-tutorial-designing-the-game-with-programming-logic-in-mind)

[C-Sharp Programming Beginner Tutorial: Designing the Game with Programming Logic in Mind (Part 4)](https://steemit.com/csharp-forbeginners/@dbzfan4awhile/c-sharp-programming-beginner-tutorial-designing-the-game-with-programming-logic-in-mind-part-4)

[C-Sharp Programming Beginner Tutorial: Rock! Paper! Scissors!](https://steemit.com/csharp-forbeginners/@dbzfan4awhile/c-sharp-programming-beginner-tutorial-rock-paper-scissors)

___

![](https://steemitimages.com/DQmQuC21Rx4rzvBAgCpoCjQ6REJ2rTmNQutgjVesVFtXGPY/image.png)
[So Much Happy!!](https://www.google.com/search?q=hip+hip+hooray&source=lnms&tbm=isch&sa=X&ved=0ahUKEwj9sZjI4PXYAhUH7YMKHbVqDp8Q_AUICigB&biw=1280&bih=633#imgrc=s-uyqaNHlDM3NM:)
👍 , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,