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
CertificationView course modules
In this course, you will learn how to build a dungeon crawler type game from start to finish. Learn to build a C++ project from scratch. Lots of 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 you are 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 runs constantly, updating the whole game. Also, learn to make decisions based on various game factors. At the end, create a text-based dungeon crawler game from scratch so there will be no GUI. The game created will just be kind of input-output text-related stuff.
This course requires you to have some amount of C++ experience because the language basics won’t be covered. It is assumed that you understand the basics of C++ and can launch right into the actual game development itself. Some experience with dungeon crawlers is an asset but not necessary because you will understand ahead of time exactly what you will be building. If you have never played the game before, do not worry, the first section of the course will kind of explain how everything will work. Visual Studio Code is a fantastic IDE that is recommended for you to use to write your code. Visual Studio Code is used in the course, and will basically 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 of course, C++ has many different applications.
The topics covered in the course include the project discussion, which will go over how the game is going to work – such as the steps that will be taken 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 you will be shown all the steps in the course. Having completed the course, you will understand how to improve a game. The code can absolutely be made more efficient especially as the more you know C++, the more you will realize certain things can definitely be changed. You can add more levels to the dungeon, add more exciting things such as items, enemies, etc. 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
Building a Game with C++
Building a Game with C++ - Learning Outcomes
Building Item Class
Building the Game Character Class
Building the Room Class
Building a Game with C++ - Lesson Summary
Building a Game with C++ - Assessment
Player, Dungeon Class and Debugging
Player, Dungeon Class and Debugging - Learning Outcomes
Building the Player Class
Building the Dungeon Class
Running and Debugging
Player, Dungeon Class and Debugging - Lesson Summary
Player, Dungeon Class and Debugging - Assessment
Upon the successful completion of this course, you should be able to:
- Identify how to store object information and data with classes.
- List the steps in creating a text-based dungeon crawler game.
- State how to create custom classes.
- Explain how to organize project files.
- Define game loops in C++.
- Describe how to implement game loops.
- Explain the game character class.
- State how to implement the player class.
- Identify how to set up inventory.
- Identify how to build the dungeon class.
- State three specific functionalities of building a dungeon class.
- Discuss how to improve upon the dungeon game.
All Alison courses are free to enrol, study and complete. To successfully complete this Certificate course and become an Alison Graduate, you need to achieve 80% or higher in each course assessment. Once you have completed this Certificate course, you have the option to acquire an official Certificate, which is a great way to share your achievement with the world. Your Alison Certificate is:
Ideal for sharing with potential employers - include it in your CV, professional social media profiles and job applications
An indication of your commitment to continuously learn, upskill and achieve high results
An incentive for you to continue empowering yourself through lifelong learning
Alison offers 3 types of Certificates for completed Certificate courses:
Digital Certificate - a downloadable Certificate in PDF format, immediately available to you when you complete your purchase
Certificate - a physical version of your officially branded and security-marked Certificate, posted to you with FREE shipping
Framed Certificate - a physical version of your officially branded and security-marked Certificate in a stylish frame, posted to you with FREE shipping
All Certificates are available to purchase through the Alison Shop. For more information on purchasing Alison Certificates, please visit our FAQs. If you decide not to purchase your Alison Certificate, you can still demonstrate your achievement by sharing your Learner Record or Learner Achievement Verification, both of which are accessible from your Dashboard. For more details on our Certificate pricing, please visit our Pricing Page.