Make sure you have the following installed.
- You have installed CMake (version 3.10 or later)
- You have installed SFML (version 2.5 or later)
- You have a C++17 compatible compiler
-
Clone the repository:
git clone https://github.com/dask-58/15.puzzle.git cd 15.puzzle
-
Run the installation script:
./install.sh
This script will build and install the game for you.
-
Clone the repository:
git clone git clone https://github.com/dask-58/15.puzzle.git cd 15.puzzle
-
Create a build directory:
mkdir build cd build
-
Configure the project:
cmake ..
-
Build the project:
cmake --build .
-
Install the project:
cmake --install .