Implement Algorithm X for solving and generating sudokus

This commit is contained in:
2021-02-21 20:01:36 -07:00
parent 7ac3e6ad06
commit 8f3217f3cc
6 changed files with 486 additions and 330 deletions

View File

@ -15,20 +15,11 @@ export const typeDefs = gql`
"The height of each region."
regionHeight: Int!
"The total number of cells in the board."
cells: Int!
"The 'raw' board, an array of cells in region-first order."
raw: [Cell!]!
"The number of cells in the board."
size: Int!
"The rows of the board, from top to bottom."
rows: [[Cell!]!]!
"The columns of the board, from left to right."
columns: [[Cell!]!]!
"The regions of the board, book-ordered."
regions: [[Cell!]!]!
cells: [[Cell!]!]!
}
type Query {