Alison's New App is now available on iOS and Android! Download Now

Build a Text-Based RPG With C++

Boost your career by developing your C++ programming skills as you build your very own RPG in this free online course.

Publisher: Zenva
Do you want to boost your career by developing your C++ programming skills? Are you interested in building your own Role-playing Video Game (RPG)? Start your C++ journey today! Learn how to build a dungeon crawler type game from start to finish with this course. We will take you through how the game will work and the steps to implement it. You will also learn how to organize project files which is essential when working on large projects.
Build a Text-Based RPG With C++
  • Duration

    4-5 Hours
  • Students

  • Accreditation


Share This Course And
Earn Money  

Become an Affiliate Member





View course modules


This course will teach you how to build a dungeon crawler type game from start to finish. Learn to build a C++ project from scratch. Many courses will teach you bits and pieces, but this course will teach you the big picture from start to finish. You will learn to organize project files, which is important, especially when working on projects with dozens of files. You will create custom classes that will help you in implementing various aspects of the game. Implement game logic, basically stuff like game loops – that makes decisions and constantly runs, updating the whole game. Also, learn to make decisions based on various game factors. By the end, create a text-based dungeon crawler game from scratch so there will be no Graphical User Interface (GUI). The game you make will just be kind of input-output text-related stuff.

This course requires you to have C++ experience because we won’t cover the language basics. In other words, we assume all students that take this course understand the basics of C++ and can launch right into the actual game development itself. Some experience with dungeon crawlers could be beneficial but not necessary because you will understand ahead of time precisely what you will be building. If you have never played the game before, do not worry, the first section of the course will explain how everything works. Visual Studio Code is a fantastic Integrated Development Environment (IDE) recommended for you to write your code. We use Visual Studio Code in this course, and it will be easier if you can follow along. You can learn more about C++ in general because everything in this course was geared towards building the game, but C++ has many different applications.

The topics covered in the course include the project discussion, which will go over how the game will work – such as the steps you will need to take to implement it. Then you will learn to build the item class. The next thing will be the game character class, building the room class, player class, and finally, the dungeon class. The dungeon class is where most of the logical functionalities are going to go. Most of the others are just there for data. Finally, what will be put all together in the main class will be running and debugging. There will likely be a couple of things that could be improved upon by the end. You will have a fully working and functional game, and we will show you all the steps in the course. Having completed the course, you will understand how to improve a game. The code can be improved, especially as the more you know C++, the more you realize you can change certain things. You can add more levels to the dungeon, add more exciting things such as items, enemies, and more. Discover many ways to improve the game. Want to start building a C++ project? Sign up for this course today and learn how to build a dungeon crawler type game from start to finish!

Start Course Now