This is the Programming project for the COS 30008 Data Structure and Patterns.
This is a lightweight RPG developed entirely in C++.
The core narrative centers around the player, a programmer, who is literally snatched from the real world and pulled into a perilous digital adventure by a pair of mysterious, unseen hands.
Gameplay involves navigating a labyrinthian environment: The player must strategically choose between different rooms, each presenting a unique combat challenge defined by varying monster quantities and threat levels. The ultimate objective is to successfully identify and secure the correct escape route needed to safely return home.
- Install MSYS2 Download and install MSYS2, then open "MSYS2 MinGW64"
- Open MSYS2 MinGW64 terminal
- Install G++:
pacman -S --needed base-devel mingw-w64-ucrt-x86_64-toolchain
Press Enter to install all package
- In you Powershell or CMD terminal, run:
# Build exe
g++ src/*.cpp -Iinclude -I external/SFML-3.0.1-mingw/include -L external/SFML-3.0.1-mingw/lib -o ./external/SFML-3.0.1-mingw/bin/app.exe -lsfml-graphics -lsfml-window -lsfml-system -lsfml-audio
# Run exe
./external/SFML-3.0.1-mingw/bin/app.exe
In Visual Studio Code, you can choose CMake to automate the build process.
The CMake deployment files are already included in this GitHub repository, so there is no need to set up any additional files.
If you wish to use CMake for automated builds, you may wish to refer to the configuration guide for CMake in Visual Studio Code.
Create a CMake hello world project with CMake Quick Start
Menu Control:
- Choose: Up, Down
- Change Setting: Left, Right
- Select: Enter
Player Control:
- Move: W, A, S, D, Up, Down, Left, Right
- Skip Story: Space
NoCopyrightSounds Official Website