The game is entirely vibe coded from the Edge browser (the chat button to the right). Originally the code generated by AI and his suggestion that I wrote down as code was in total of 130 lines of code for both - my and his code. All the code afterwards is written by me. 
Small Dungeon Based Game that is cross-platform available.
🗡️ Dungeon exploration
👾 RPG-style gameplay
⚔️ Turn-based combat
🎒 Equipment, Armour, Weapon, Potion, Spell systems
🧙 Choose from multiple character classes
💀 Monster encounters defeat increasingly powerful enemies
📈 Character progression and equip class-specific gear
🏆 Loot collection
🗺️ Randomized dungeon adventures
⌨️ Lightweight terminal/console interface
🖥️ Cross-platform support (Linux, BSD, MacOS and Windows)
🚀 Written entirely in modern C++20
⚔️ Level up and improve your hero
make -j8 # to use 8 cores/threads in parallel compile
cp -r .0verpg.json ~/
sudo make installDon't forget to copy .0verpg.json to ~/ . If you are root user, the config must be copied to /root/ and edited there.
The game first looks for .0verpg.json in the current directory, so you can also run ./0verpg en straight from the repository without copying it. A .0verpg.json in the current directory takes priority over the one in ~/.
Now to run the game type 0verpg en this will use the English version. Currently there are three languages en, bg - Bulgarian and it - Italian.
Don't forget to use the Spells key after start to change with the +5 attacking power spell. Otherwise it will default only to the hero attacking power and Basic Spell.
Thanks to @lasers for the help to make the compile process easier and avoid the header iostream not to be found.
Here is what it looked like:
5. ~/src/su8-0verpg on main ❯ g++ -o 0verpg main.cpp -g2 -Wall -Wextra -O2 -std=c++20 -D_DEFAULT_SOURCE -pipe -pedantic -Wundef -Wshadow -W -Wwrite-strings -Wcast-align -Wstrict-overflow=5 -Wconversion -Wpointer-arith -Wformat=2 -Wsign-compare -Wendif-label s -Wredundant-decls -Winit-self main.cpp:18:10: fatal error: 'iostream' file not found 18 | #include | ^~~~~~~~~~ 1 error generated.
To fix this just type:
clang++ -isystem "$(xcrun --show-sdk-path)/usr/include/c++/v1" -std=c++20 -O2 -Wall -Wextra -Wpedantic -Wconversion -Wshadow main.cpp -o 0verpgTested with Visual Studio Code Editor, but you need to install MingW, once downloaded extract it to C:\MingW, then re-open Visual Studio Code Editor, you might want to install C\C++ extensions if you plan to write C\C++ code with the editor. If you plan to contribute to this project go to File->Preferences->Settings and type to search for cppStandard and set it to c17 to both C++ and C.
I use One Monokai theme for the VScode Editor
In Visual Studio Code Editor, go to Terminal->Configure Tasks...->Create tasks.json from template and copy and paste this into it:
{
"version": "2.0.0",
"tasks": [
{
"type": "cppbuild",
"label": "C/C++",
"command": "C:\\MingW\\bin\\g++.exe",
"args": [
"-fdiagnostics-color=always",
"-std=c++20",
"-ggdb",
"-lpthread",
"-D_DEFAULT_SOURCE",
"-Wall",
"-Wextra",
"-O2",
"-pipe",
"-pedantic",
"-Wundef",
"-Wshadow",
"-W",
"-Wwrite-strings",
"-Wcast-align",
"-Wstrict-overflow=5",
"-Wconversion",
"-Wpointer-arith",
"-Wformat=2",
"-Wsign-compare",
"-Wendif-labels",
"-Wredundant-decls",
"-Winit-self",
"${file}",
"-o",
"${fileDirname}/${fileBasenameNoExtension}"
],
"options": {
"cwd": "C:\\MingW\\bin"
},
"problemMatcher": [
"$gcc"
],
"group": {
"kind": "build",
"isDefault": true
},
"detail": "compiler: C:\\MingW\\bin\\g++.exe"
}
]
}Optioanlly if you want to play the game from VSCode's console -- wait until it compiles, after that press CTRL + ` and paste this cp -r C:\Users\YOUR_USERNAME_GOES_HERE\Desktop\main.exe C:\MingW\bin;cd C:\MingW\bin;.\main.exe
If on Unix:
sudo make uninstall