Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Solves and generates Hidatos in Haskell language

lorainemg/Sudoku-Hidato

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sudoku Hidato

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.

Features

  • Generates random Hidato puzzles.
  • Solves Hidato puzzles.
  • Written in Haskell.

How to Run

  1. Open the Haskell compiler (ghci) in the project directory.
  2. Load the main file:
    :load main
  3. To generate a board with dimensions n and m, use:
board <- generate n m
  1. To solve the generated board, use:
solve board

Installation

Make sure you have Haskell installed. You can run the following in your terminal to install it:

sudo apt-get install haskell-platform

Clone the repository:

git clone https://github.com/lorainemg/Sudoku-Hidato.git
cd Sudoku-Hidato

Report

For a detailed report on the project, please visit: Report PDF

About

Solves and generates Hidatos in Haskell language

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published