Hacktkober 'n' Slash (C++ turn-based RPG game)
Turn is a turn-based terminal RPG game written in C++. Contributions are encouraged, especially during Hacktoberfest!
brew install sdl2
for Mac userssudo apt install libsdl2-dev libsdl2-mixer-dev
for Linux usersClone this project by running git clone https://github.com/tagniam/Turn.git
in your terminal.
Turn
directory.To build with Visual Studio 16 2019 run the following commands:
$ cmake -S . -B build -G "Visual Studio 16 2019"
$ cmake --build build
build\Turn.exe
.Alternative: Generate solution with CMake and build with Visual Studio
Run CMake on the Turn
directory to generate a .sln
solution file for Visual Studio. You can find a tutorial here.
$ cmake -S . -B build -G "Visual Studio 16 2019"
Run Visual Studio and open the generated .sln
solution file.
Build
-> Build Solution
.Turn
directory.Run the following commands:
$ cmake -S . -B build
$ cmake --build build
./build/Turn
.See the game manual located in the wiki.