There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

Sudoku in C

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

It was created in continuation of another fun project the

https://gitlab.com/christosangel/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 ,

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 OP ,
@christos@lemmy.world avatar

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.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines