Input file naming convention

Programs which generate, solve, and analyze Sudoku puzzles

Input file naming convention

Postby ErikDK » Sun Feb 07, 2021 12:09 pm

New user at this forum. I am developing a Sudoku solver in JavaScript.

So far I have modules for:
NS HS LCP LCC - naked and hidden singles, locked candidates
NP HP NT HT NQ HQ - naked and hidden pairs, triples, quads
XW SWF YW - X-wing, swordfish, Y-Wing
UR RP - unique rectangle type 1, remote pairs with 4 cells
SC 2SK ER - skyscraper, 2 string kite, empty rectangle

My solver uses a 171 byte CSV input file like this
Code: Select all
0,6,5,0,2,0,0,8,0,
0,1,0,0,3,0,0,4,0,
0,0,4,0,0,0,1,0,0,
0,0,0,0,9,2,5,0,0,
6,0,0,0,7,0,0,0,9,
0,0,1,3,8,0,0,0,0,
0,0,7,0,0,0,8,0,0,
0,3,0,0,4,0,0,9,0,
0,5,0,0,1,0,7,6,0,

At this forum I see different kind of notations for puzzles like:

Code: Select all
070896034364120089080043060705084090640000078090070400050400000400008950010050040

and
Code: Select all
.42....6.6..7..3.2....61..1....46...5..9..1...71....99....37...8..4..5...37....8


Is there a naming convention for the puzzle strings here above?

Tnx, Erik.
ErikDK
 
Posts: 1
Joined: 28 January 2021
Location: Belgium

Return to Software

cron