1 <?xml version="1.0" encoding="ISO-8859-1"?>
3 <screensaver name="queens" _label="Queens">
7 <number id="delay" type="slider" arg="-delay %"
8 _label="Speed" _low-label="Slow" _high-label="Fast"
9 low="0" high="50000" default="20000"
13 <boolean id="wire" _label="Wireframe" arg-set="-wireframe"/>
14 <boolean id="showfps" _label="Show Frames-per-Second" arg-set="-fps"/>
18 Solves the N-Queens problem (where, in this program, N is between 5 and
19 10 queens.) The problem is: how may one place N queens on an NxN
20 chessboard such that no queen can attack a sister?
22 Written by Blair Tennessy; 2002.