ended3월 24일· 1 sources
From Crutches to Bijection: How I Wrote a Sudoku Generator in JS
임시방편에서 전단사 함수(Bijection)까지: JavaScript로 스도쿠 생성기를 만든 이야기
Why it matters
A math teacher in Thailand built a Sudoku grid generator in JavaScript that evolved through multiple versions—from naive shuffling of a base grid using seed-driven geometric transformations, toward strict combinatorics and a full factorial number system (bijection). The article details the first version's approach of applying valid Sudoku-preserving row/column swaps controlled by a hexadecimal seed converted to bit flags.
1
Sources
+0
24h
—
Growth
180d
Active
SudokuJavaScriptbijectionfactorial number systemcombinatoricsgrid generator