Building QueensGamers: 1,800 Free Puzzles and an Open-Source TypeScript Engine
Описание и применение
Создан бесплатный браузерный сервис QueensGamers.com с 1 800 головоломками и открытый TypeScript‑движок для генерации, проверки и решения головоломок с цветными регионами.
Задача
Provide a free, browser-based platform for colored-region Queens puzzles and an open-source engine for generating, validating, and solving them.
Результат
QueensGamers.com now hosts 1,800 puzzles across six board sizes with daily challenges, while the open-source engine enables developers to generate, validate, and solve puzzles programmatically.
Рабочий процесс
- 1. Designed QueensGamers.com as a browser-only game with daily challenges and a full library of 1,800 puzzles.
- 2. Implemented core gameplay rules: one queen per row, column, region, and no touching queens.
- 3. Added UI features: X marks, undo, hints, conflict feedback, local progress, optional timing.
- 4. Created the Queens Puzzle Engine as an independent TypeScript project on GitHub.
- 5. Implemented deterministic puzzle generation, validation, backtracking solver, uniqueness check, and JSON format support.
- 6. Provided a command-line interface and zero runtime dependencies.
- 7. Published the engine on GitHub and made it cloneable for developers.
- 8. Planned roadmap items: npm package, SVG rendering, benchmarks, playground, deduction explanations, React components.
Доказательства
QueensGamers.com offers daily, unlimited, and archived puzzles with features like hints and conflict feedback, while the Queens Puzzle Engine on GitHub supplies a browser-first TypeScript library for puzzle generation, validation, solving, and uniqueness verification.
The current v0.1.0 pre-release supports deterministic puzzle generation from a seed, region and placement validation, backtracking-based puzzle solving, unique-solution verification, board sizes from 7×7 through 12×12, browser and Node.js environments, a versioned JSON puzzle format, a command-line interface, and zero runtime dependencies.
- Дата записи: 2026-09-05T17:15:20.128Z