DMG-TechLabs / Text-Based-Game-Engine

A game engine for text based games written in C++

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Text-Based-Game-Engine

Usage

  1. Clone the repository

    git clone https://github.com/DMG-TechLabs/Text-Based-Game-Engine --recursive
  2. In your CMakeList.txt file, link the Engine

    add_subdirectory(Text-Based-Game-Engine)
    include_directories(Text-Based-Game-Engine)
    
    target_link_libraries(${PROJECT_NAME} TextBasedGameEngine)
  3. To use the engine include the engine.h file

Documentation

Check it here

Tree

.
├── achievements
    │   ├── achievement.cpp
    │   └── achievement.h
    ├── boost_serialization_includes.h
    ├── command
    │   └── command.h
    ├── engine.h
    ├── item
    │   ├── item.cpp
    │   └── item.h
    ├── map
    │   ├── map.cpp
    │   └── map.h
    ├── menu
    │   ├── menu.cpp
    │   ├── menu.h
    │   ├── menu_utils.cpp
    │   └── menu_utils.h
    ├── mission
    │   ├── mission.cpp
    │   ├── mission.h
    │   ├── objective.cpp
    │   └── objective.h
    ├── node
    │   ├── node.cpp
    │   └── node.h
    ├── player
    │   ├── inventory.cpp
    │   ├── inventory.h
    │   ├── player.cpp
    │   └── player.h
    ├── progress
    │   ├── progress.cpp
    │   └── progress.h
    ├── text
    │   ├── text.cpp
    │   └── text.h
    └── utils
        ├── game_utils.cpp
        ├── game_utils.h
        ├── prompt.cpp
        └── prompt.h


Authors

License

MIT

About

A game engine for text based games written in C++

License:MIT License


Languages

Language:C++ 92.0%Language:CMake 4.7%Language:Shell 1.8%Language:C 1.4%