Sudoku Puzzle Game in C

Sudoku

This is a basic beginner Sudoku project made with the C language using Windows API.

Features

  • Custom levels according to your capability
  • click an empty cell then use keyboard or buttons on the screen to enter the number.
  • The game features 3 hints for you to use when you get stuck.
  • the GUI is super clean and modern with live score/mistakes/click tracking and cell highlighting.

Notes

  • What can I improve? What can I make more efficient and less time-consuming as I am a rookie programmer and any extra suggestion you want to give me feel free…

GitHub repo: GitHub - reewdgh/sudoku · GitHub

Hey, nice work on this project! Building a Sudoku game with C and the Windows API sounds like a great learning experience, especially for someone who is still exploring programming.

I really like the idea of having different difficulty levels, hints, and live tracking. It makes the game feel more complete rather than just a simple Sudoku board.

One suggestion I’d make is to keep the code as modular as possible. Try separating the game logic from the GUI so that you can work on each part independently. It will also make debugging and adding new features much easier.

Some ideas you could explore later:

  • Add a save/load feature so players can continue their games.

  • Introduce a timer or a leaderboard.

  • Improve the Sudoku generator to ensure every puzzle has only one valid solution.

  • Add different visual themes or customization options.

I’m also learning programming and trying to improve my skills through small projects, so it’s always interesting to see how other developers approach things.

By the way, I’m curious about one thing: how did you handle the Sudoku generation and validation logic in C? I’d love to hear more about your approach.

Keep it up! Looking forward to seeing what you build next!