Hidato Sudoku is a puzzle game where the goal is to fill a board with consecutive numbers that connect horizontally, vertically, or diagonally. The smallest number is 1, and the largest number corresponds to the total number of squares on the board. Each number’s predecessor and successor must be in adjacent squares.
This project includes a solver and generator for Hidato puzzles, implemented in Haskell.
- Generates random Hidato puzzles.
- Solves Hidato puzzles.
- Written in Haskell.
- Open the Haskell compiler (
ghci) in the project directory. - Load the main file:
:load main - To generate a board with dimensions n and m, use:
board <- generate n m- To solve the generated board, use:
solve boardMake sure you have Haskell installed. You can run the following in your terminal to install it:
sudo apt-get install haskell-platformClone the repository:
git clone https://github.com/lorainemg/Sudoku-Hidato.git
cd Sudoku-HidatoFor a detailed report on the project, please visit: Report PDF