Skip to content

Commit 8d348ce

Browse files
committed
Make "N Queens" live
And remove "N Queens Formatted". Closes #1109 Closes #1110
1 parent aa453fc commit 8d348ce

File tree

4 files changed

+4
-1278
lines changed

4 files changed

+4
-1278
lines changed

config/holes.toml

Lines changed: 1 addition & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -785,12 +785,12 @@ preamble = '''
785785

786786
['N Queens']
787787
category = 'Gaming'
788-
experiment = 1109
789788
links = [
790789
{ name = 'Rosetta Code', url = '//rosettacode.org/wiki/N-queens_problem' },
791790
{ name = 'Wikipedia', url = '//en.wikipedia.org/wiki/Eight_queens_puzzle' },
792791
]
793792
item-delimiter = "\n"
793+
released = 2024-05-01
794794
synopsis = 'Print all solutions to the N queens problem.'
795795
preamble = '''
796796
<p>
@@ -804,35 +804,6 @@ preamble = '''
804804
Print all solutions to the N queens problem, one per a line, for boards of sizes 4-8.
805805
'''
806806

807-
['N Queens Formatted']
808-
category = 'Gaming'
809-
experiment = 1110
810-
links = [
811-
{ name = 'Rosetta Code', url = '//rosettacode.org/wiki/N-queens_problem' },
812-
{ name = 'Wikipedia', url = '//en.wikipedia.org/wiki/Eight_queens_puzzle' },
813-
]
814-
item-delimiter = "\n\n"
815-
synopsis = 'Print all solutions to the N queens problem.'
816-
preamble = '''
817-
<p>
818-
In chess, pieces move on a board of 8 ranks and 8 files. A chess queen can attack along a file a rank or a diagonal.
819-
It is possible to place 8 queens on the board, such that no queen is under attack by another one.
820-
One solution looks like this
821-
822-
<p>
823-
<pre>.......Q
824-
...Q....
825-
Q.......
826-
..Q.....
827-
.....Q..
828-
.Q......
829-
......Q.
830-
....Q...</pre>
831-
832-
<p>
833-
Print all solutions to the N queens problem, separated by a blank line, for boards of sizes 4-8.
834-
'''
835-
836807
['Emirp Numbers']
837808
category = 'Sequence'
838809
releases = [2017-10-08, 2022-10-29]

0 commit comments

Comments
 (0)