A C++14 console application for creating and managing Dungeons & Dragons (D&D) characters and campaigns. The project provides both a Player Mode for character creation and management, and a Dungeon Master Mode for campaign and entity management.
-
Player Mode
- Guided character creation (name, class, race, level)
- Attribute and ability assignment based on class and race
- Character details display
- Interactive menu for character management
-
Dungeon Master Mode
- Entity management (creatures, effects, etc.)
- Menu-driven interface for campaign management
-
Core System
- Object-oriented design with classes for entities, effects, races, classes, and more
- Use of design patterns (Singleton for main menu)
- Extensible architecture for adding new features
DND in Compiler.cpp— Main entry point, menu logic, and mode selectionplayer_character.h/cpp— Player character class and logicclass.h/cpp— Character class definitions and logicrace.h/cpp— Race definitions and logicatribute_helper.h/cpp— Attribute reading and assignmententity.h/cpp— Base entity class (for all game objects)effect.h/cpp— Effect system for buffs/debuffscreature.h/cpp— Creature definitionsentity_manager.h/cpp— Management of all entities in the gamedm_helper.h— Dungeon Master utilities and menudnd_helper.h— Helper functions for D&D logic and UImain_menu.h/cpp— Singleton menu implementation
- Visual Studio 2022 or compatible C++14 compiler
- Standard C++14 libraries
- Open the solution in Visual Studio 2022.
- Build the solution (
Ctrl+Shift+B).
- Run the compiled executable.
- Choose between Player Mode or Dungeon Master Mode from the main menu.
- Player Mode: Follow prompts to create a character, select class/race/level, and manage your character.
- Dungeon Master Mode: Use the menu to manage entities and campaign elements.
- Add new classes/races by editing
class.h/cppandrace.h/cpp. - Add new effects in
effect.h/cpp. - Expand menu options in
main_menu.h/cppand related helpers.
- Main contributors: R0scat