N-queens problem: Difference between revisions
Content added Content deleted
(Applesoft BASIC, added the BASIC header) |
m (removed BASIC header, hoisted BBC BASIC and Applesoft BASIC) |
||
Line 933: | Line 933: | ||
return newRows |
return newRows |
||
end Reflect</syntaxhighlight> |
end Reflect</syntaxhighlight> |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
=={{header|Arc}}== |
=={{header|Arc}}== |
||
Line 1,381: | Line 1,390: | ||
[[image:N-Queens_SolutionBrowserGUI.png]] |
[[image:N-Queens_SolutionBrowserGUI.png]] |
||
=={{header|BASIC}}== |
=={{header|BBC BASIC}}== |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
==={{header|BBC BASIC}}=== |
|||
{{works with|BBC BASIC for Windows}} |
{{works with|BBC BASIC for Windows}} |
||
The total number of solutions is displayed in the title bar and one solution is displayed. The code could be adapted to display a selected solution or multiple solutions. |
The total number of solutions is displayed in the title bar and one solution is displayed. The code could be adapted to display a selected solution or multiple solutions. |