Sudoku v.2.0.0

For Xojo’s 2025 Year of Code (Septgamer) I have entered a Sudoku Puzzle application.
Meanwhile I’ve added quite some features, some of which might be of technical interest to some of you (apart from those that just like to have a Sudoku Puzzle written in Xojo).

Some of the newer features are:

  • Sudoku Sizes: 4x4 | 6x6 | 8x8 | 9x9 | 12x12 | 16x16
  • The solver uses Dancing Links (DLX) - Knuth’s Algorithm X - for solving operations
  • Optionally mark cell candidates that can be excluded
  • Desktop Sudoku Canvas: allows resizing Window to fit all Sudoku Sizes
  • Available as Desktop- and Web App (MonoRepo with shared code | WebApp available as Docker Image)
  • Web API (and Postman Collection) to generate and solve Sudoku Puzzles (Formats: Txt, Json, PDF)
  • Print and PDF
  • WebSDK Controls
    • Fit entire WebPage in Browser
    • Navigate between Controls using Cursor Keys
    • Canvas that draws the puzzle client-side
  • Refactor Sudoku Logic into a Module with specialized classes (CandidatesSearcher, Grid, HintsSearcher, Puzzle, Solver)

Sudoku DLX Solver & Generator

10 Likes

What file or files do I need to check this out with Xojo on a Mac. I when to the links you posted, but there are a lot of files and submenus. Because I’m not familiar with GitHub, I need a little hand-holding on what I need to retrieve. Thank you.

1 Like

To just download the Source: Click on the green Button ‘Code’ → Download as .zip

Thank you. Is it coded for MacOS or Windows? I’m really new at this GitHub - I’ve got the sudoku-main folder and it’s contents. Do I double click SudokuDesktop.xojo_project to launch it? The “project file” is what I’d launch if I were using the SimplyFortran App - for its source code with build/run options. So I’m guessing the project file for desktop is what I’d “launch” here.

It’s just two Xojo Projects in that folder. So launch Xojo, and open e.g. the SudokuDesktop.xojo_project. Then click “Run” in Xojo.

If you just want a pre-built executable that you can “run” and “launch”, then download from the releases. Scroll a bit down to find the “Assets”, and there you can get the .dmg containing the built app for macOS, and of course builds for Linux and Windows, too.

So kool! Thank you.