POV-Ray : Newsgroups : povray.binaries.images : Sudoku : Re: Sudoku Server Time
14 Jan 2025 19:15:24 EST (-0500)
  Re: Sudoku  
From: jr
Date: 11 Jan 2025 03:25:00
Message: <web.67822a9d79ae42b1f3dafc4d6cde94f1@news.povray.org>
hi,

kurtz le pirate <kur### [at] freefr> wrote:
> The attached image is a Sudoku grid.
> It's not just numbers and lines, it's solving a Sudoku grid.

nice.


> The starting grid is defined as follows in the code :
> #declare board = array[SIZE][SIZE] {
>    {0,8,0,3,0,0,7,0,6},
>    {6,0,3,2,0,8,4,0,0},
>    {2,0,0,4,9,6,3,1,0},
>    {8,0,0,0,6,4,0,0,0},
>    {7,0,0,1,0,0,0,0,0},
>    {0,9,6,0,0,7,0,4,2},
>    {3,0,8,0,2,0,1,5,4},
>    {4,0,9,8,0,1,6,0,0},
>    {5,6,0,7,4,3,2,0,9}
>    }
> ...
> If anyone's interested, I've also attached the text file containing the
> debug stream redirection.

interested in puzzle solvers ?  _yes_ </grin>, though I tend to use Tcl.

the board (above) doesn't tell me very much, how do you deal with the nine
sub-squares ?  how do keep track of the values a given cell (still) can take ?
(and many other such questions :-))


regards, jr.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.