Skip to content

aadilshabier/sudoku

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sudoku

A sudoku solver written in C using backtracking algorithm

Instructions:

  1. Clone the repository locally and move into the directory

    $ git clone https://github.com/aadilshabier/sudoku.git && cd sudoku
  2. There are two different ways to build the project:
    I. Meson

    $ meson build && ninja -C build         

    The binary executable will be generated in the build directory.
    II. This one liner

    $ cc -Wall -Wextra -pedantic --std=c11 -O3 -Iinclude -o sudoku src/main.c src/sudoku.c

    The binary exectable will be generated in the parent directory.

  3. The example script can be used to get some example puzzles to test the program, it contains 50 puzzles

    $ ./example 12 | ./sudoku

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published