A simple graphic C++ program for solving sudoku with user interface created with SFML library.
The following external resources (fonts and icons) were used:
- Undo icons created by Freepik - Flaticon
- Check icons created by Google - Flaticon
- Reset icons created by inkubators - Flaticon
- Sudoku icons created by Freepik - Flaticon
- Delete icons created by Pixel perfect - Flaticon
- Yes icons created by hqrloveq - Flaticon
- Coolvetica font created by Typodermic Fonts - dafont
- C++ 20
- SFML 2.5.1 library
- CMake >= 3.0
To build the solution from source, follow the steps below:
- Download SFML 2.5.1 library (if you haven't done it yet) from here.
- Clone this repository to your local environment:
git clone https://github.com/IgorSwat/Sudoku-Solver cd Sudoku-Solver - Build the solution with CMake. Remember to set DSFML_DIR variable pointing to the subdirectory of the downloaded SFML library
containing the file SFMLConfig.cmake - usually it's <path_to_sfml>/lib/cmake/SFML.
Below is an example build for the Microsoft Visual Studio environment:
mkdir build cd build cmake -DSFML_DIR=<path_to_SFMLConfig_directory> -G "Visual Studio 17 2022" .. - Compile the obtained project with the tool of your choice (for example, MSVC compiler for Visual Studio 2022). It's highly recommended to build and compile in 'Release' mode.
- Run the obtained executable file.
