A simple game made in c++ using the raylib graphics library
Goal: Create the longest chain you can, joining tiles of the same colour or shape.
How to play: Click and hold on the tile you want to start the chain from and drag your mouse to make a chain. Release the mouse to finish the chain.
If you have any suggestions or bug reports, do not hesitate to create an Issue on the GitHub repository
You can see a To-Do list of upcoming features in the Projects Tab
Building the project does not require, but is easier with CMake. It's recommended you install CMake from your preferred package manager.
- Clone the repository using
git clone https://github.com/Peter0x44/GeometrySlash
- cd to the GeometrySlash directory
cd GeometrySlash
- install the raylib git submodule using
git submodule update --init --recursive
- make a build folder and cd to it with
mkdir build && cd build
- setup cmake
cmake .. -DCMAKE_BUILD_TYPE=Release
- run
make
to compile the project - make the binary executable
chmod +x GeometrySlash
- run the binary with
./GeometrySlash
You can also get a build from the Releases page, in which case just follow steps 7-8 in the directory GeometrySlash is in after you Download it.
It's possible to not compile GeometrySlash with CMake, but we recommend that you do so because it simplifies a lot of things. You can get it on Windows from here. It's also possible to get it on Scoop, Winget or Chocolatey.
You need to install MinGW. Select make and developer tools in the installer Download MinGW here!
You should use PowerShell for these commands as it's just a bit better and that's what I'm using.
- Clone the repository using Git. Execute this in a terminal:
git clone https://github.com/Peter0x44/GeometrySlash
- Cd into GeometrySlash.
cd GeometrySlash
- Install the Raylib git submodule by running this:
git submodule update --init --recursive
- Make a build folder. Your builds will go here.
mkdir build; cd build
- Setup CMake. Make sure to define MinGW Makefiles if you are using MinGW!
cmake .. -DCMAKE_BUILD_TYPE=Release -G "MinGW Makefiles"
- Make sure you have mingw32-make. If you do, just run it in the build directory and it will start compiling everything. It won't take long, and once it's finished, then
- Run GeometrySlash.exe! You have just compiled GeometrySlash for Windows using MinGW.
We still recommend you to use CMake to compile GeometrySlash, you can get it from here. It's also possible to get it on Scoop, Winget or Chocolatey.
Still, try to use PowerShell because it's much better than Command Prompt.
You need to have Visual Studio 2019 (other versions aren't tested, please tell us if it works for you) with C++ Development selected in the installer.
- Clone the repository using Git. Execute this in a terminal:
git clone --recursive https://github.com/Peter0x44/GeometrySlash
- Cd into GeometrySlash.
cd GeometrySlash
- Make a build folder. Your builds will go here.
mkdir build; cd build
- Setup CMake.
cmake .. -DCMAKE_BUILD_TYPE=Release
- Let's build the project! Run
cmake --build .
- Go into Debug, your build of GeometrySlash is there. You have now compiled GeometrySlash for Windows using MSVC.