C-Sudoku is a program written in C programming language.

It was created in continuation of another fun project the

Sudoku Solver

C-Sudoku generates sudoku riddles, in four levels of difficulty.

You can solve these riddles in CLI(command-line interface).

From a simple menu, the user can :

  • Play the game,

  • See the solution of the game,

  • Save the riddle in a simple txt file so that it can be printed,

  • Generate a new riddle.

  • coderade@lemmygrad.ml
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    You have an off by one bug, the format of the commands says “0-9/0-9/0-9” but your columns and rows are labelled 1-9, you either need to zero index your board or 1 index the commands you give.

    • christos@lemmy.worldOP
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      Yup you are right, I fixed it.

      The third 0-9 remains however, you can put 0 value to a square when you want to erase an error.