Queensソルバーとは?
Queensソルバーは、色付き領域と入力済みのクラウンやXから盤面を完成させるツールです。各行、列、領域のクラウン数と、クラウン同士が接しない規則を確認します。
このページは Queens solver、crown puzzle solver、Queens helper、Queens next move、1クラウン、2クラウン、3クラウンなどの検索に対応します。
- アプリ、本、印刷物のQueensを解く。
- 現在のクラウンとXが有効か確認する。
- 全解答を見ずに次の論理手だけを見る。
- 自作領域が一意解か試す。
使い方
まずサイズとクラウン数を選びます。領域モードでは色を選んで盤面を塗ります。クラウン / Xモードでは空白、X、クラウンを入力します。
Solveは盤面を完成させます。Checkは入力が有効な解に合うか確認します。Next moveは候補と強制クラウンまたは強制Xを表示します。
- 空白盤面から手入力できます。
- 例題で動作をすぐ試せます。
- 各領域色は少なくとも1マス必要です。
- 入力したクラウンは固定手がかりです。
- Xはそのマスを禁止します。
ソルバーのQueensルール
1クラウンでは各行、列、色領域にちょうど1つのクラウンが入ります。2または3クラウンでは、その数が2または3になります。
クラウンは上下左右にも斜めにも接してはいけません。
- 各行に選んだ数のクラウン。
- 各列に選んだ数のクラウン。
- 各領域に選んだ数のクラウン。
- クラウンは斜めも含め接しない。
- Xは使用不可マスです。
次の手と戦略
ヘルパーはまず候補マップを作り、X、既知クラウンの隣接マス、数の条件に合わないマスを除きます。
その後、すべての有効解で成り立つ手を探します。常にクラウンなら強制クラウン、決してクラウンにならないなら強制Xです。
- 推測前に行と列を数える。
- 残り候補が少ない領域を見る。
- クラウン後は周囲を除外する。
- 複数クラウンでは残数を丁寧に数える。
- 強制手がない場合はSolveで探索できます。
解けない理由
行にクラウンが多すぎる、クラウンが接している、領域に候補が足りない、Xが必要な場所をすべて塞ぐ場合は解なしになります。
自作パズルでは複数解になることもあります。ソルバーはその状態を知らせます。
Queens solving techniques
These are the main ideas used by the next move helper. They also make good manual Queens strategy when you solve crown puzzles on paper.
Candidate Map
BeginnerThe solver checks every row, column, region and no-touching rule, then marks the cells that can still hold a crown.
Forced Crown
BeginnerIf every valid solution places a crown in the same square, that square is a safe next move.
Forced X
BeginnerIf no valid solution can use a square, the solver can mark it with X without revealing the whole answer.
Row and Column Count
BeginnerEach row and column must contain the selected number of crowns, so full lines eliminate the remaining cells.
Region Count
BeginnerEvery coloured region needs the selected number of crowns. When the possible cells are exhausted, the remaining moves are forced.
No-Touching Rule
BeginnerA crown blocks the eight surrounding cells, including diagonals, which is often the quickest Queens deduction.