-
Notifications
You must be signed in to change notification settings - Fork 0
Getting Started
Welcome to Adventure-Game! This guide will help you set up the project, build it on your computer, and start exploring the game's features and source code.
Whether you're a player interested in trying the game or a developer looking to contribute, this page will walk you through everything you need to get started.
- Prerequisites
- Clone the Repository
- Build the Project
- Run the Game
- First Launch
- Project Overview
- Development Environment
- Troubleshooting
- Next Steps
Adventure-Game is written entirely in C++ and does not rely on external game engines or third-party libraries.
Before building the project, make sure you have:
- C++17 compatible compiler
- Git
- A C++ IDE or text editor
- Microsoft Visual C++ (Visual Studio 2022 or newer)
- GCC 11+
- Clang 14+
Although older compilers may work, they are not officially tested.
The project can be developed using any modern C++ IDE.
Recommended options include:
- Visual Studio 2022
- Visual Studio Code
- CLion
- Code::Blocks
Visual Studio is currently the recommended environment for Windows development.
Clone the repository using Git:
git clone https://github.com/Perry1231/Adventure-Game.gitNavigate into the project directory:
cd Adventure-Game- Open the solution (
.sln) file if provided. - Select Debug or Release configuration.
- Build the project.
- Run the executable.
Compile all source files:
g++ -std=c++17 *.cpp -o Adventure-Gameclang++ -std=c++17 *.cpp -o Adventure-GameAfter a successful build, launch the executable.
On Windows:
Adventure-Game.exeOn Linux or macOS:
./Adventure-GameWhen the game starts, you'll be presented with the Main Menu, where you can begin a new adventure or access the available game systems.
When launching Adventure-Game for the first time, the typical flow is:
- Start a new game.
- Create your character.
- Enter your character's information.
- Receive randomized starting equipment.
- Open the main menu.
- Explore inventory, equipment, and character statistics.
Depending on your selected profession, your starting weapon and armor may differ.
The current version of Adventure-Game provides several menu options:
| Option | Description |
|---|---|
| Start Game | Begin a new adventure and create a character. |
| Load Game | Load a previously saved game (framework available). |
| Save Game | Save current progress (framework available). |
| Character Stats | View player attributes and equipped items. |
| Inventory | Manage collected items and equipment. |
| Settings | Configure available game options. |
| Help | Display gameplay instructions and controls. |
Adventure-Game is organized around several independent gameplay systems.
Current systems include:
- Character creation
- Character statistics
- Inventory management
- Equipment management
- Weapon generation
- Armor generation
- Potion system
- Loot chests
- Active effects
- Save/Load framework
These systems communicate through clearly separated classes, making the project easy to understand and extend.
The overall game flow currently follows this structure:
Launch Game
│
▼
Main Menu
│
▼
Start Game
│
▼
Character Creation
│
▼
Generate Starting Equipment
│
▼
Main Game Menu
│
┌────┼───────────────┐
▼ ▼ ▼
Stats Inventory Settings
│ │
▼ ▼
Equip Items
Use Potions
View Equipment
As development continues, additional gameplay systems such as combat, NPC interactions, quests, and exploration will integrate into this flow.
The project is built using modern C++ programming techniques.
Technologies currently used include:
| Technology | Purpose |
|---|---|
| C++ | Core programming language |
| STL | Standard containers and algorithms |
| Git | Version control |
| GitHub | Repository hosting |
No external libraries are currently required.
A simplified overview of the repository:
Adventure-Game/
│
├── Character
├── Inventory
├── Item
├── Weapon
├── Armory
├── Potion
├── Chest
├── Save
├── Main.cpp
└── README.md
A complete explanation of each directory can be found on the Project Structure page.
Make sure your compiler supports C++17 or newer.
Verify that you cloned the complete repository:
git pullTry performing a clean rebuild.
In Visual Studio:
Build → Clean Solution
Build → Rebuild Solution
The current version contains the save/load framework, but full serialization has not yet been implemented.
This is expected behavior.
Now that you've successfully built the project, continue exploring the documentation:
- Installation – Platform-specific setup instructions.
- Project Structure – Repository layout and file organization.
- Architecture – Learn how the project is designed internally.
- Character System – Understand player attributes and progression.
- Inventory System – Explore how items are stored and managed.
- Development Guide – Learn how to extend the project and contribute.
If you encounter any issues while building or running Adventure-Game:
- Check the project's GitHub Issues page.
- Review the documentation in this wiki.
- Open a new Issue if you discover a bug or have a feature request.
Happy coding, and enjoy exploring Adventure-Game! 🚀