To be able to run the program, see the instructions below. If the Glasgow Haskell Compiler and the required packages are already installed, you should be able to skip to step 3.
- Install the Glasgow Haskell Compiler available here.
- Run the following command to install the required packages with cabal:
cabal install gloss random List HUnit split
- Navigate to the folder containing the files in the terminal and run:
ghc -–make SudokuGloss.hs
- Run SudokuGloss.exe
When the program is started, the user will be greeted with a random unsolved Sudoku. Use the following controls to use the program.
- Esc: Quits the program
- R: Randomizes the board into a new Sudoku
- Space: Solves the Sudoku