Skip to content

DMG-TechLabs/Text-Based-Game-Engine

Repository files navigation

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++

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •