This is a very basic command line only dungeon crawler game, that I used to learn and apply OOP fundamentals in C++. I may or may not add to this game later. In case you want to play it, follow the instructions below.
- clone the source code
git clone https://github.com/Haerbernd/CPP_OOP_Introduction.git - Go into the cloned directory
cd CPP_OOP_Introduction - Prepare Build System
cmake . - Build the game
cmake --build . - Now run "Basic_Dungeon_Crawler"
./Basic_Dungeon_Crawler
- clone the source code
git clone https://github.com/Haerbernd/CPP_OOP_Introduction.git - Go into the cloned directory
cd CPP_OOP_Introduction g++ main.cpp dungeon.cpp game.cpp gameCharacter.cpp item.cpp player.cpp room.cpp -o Basic_Dungeon_Crawler- Now run "Basic_Dungeon_Crawler"
./Basic_Dungeon_Crawler
Just input all the .cpp-files (some compiles may also want the .h-files but that shouldn't normally be the case) in a C/C++ Compiler of your choice and your good to go.