http://packetstormsecurity.org/UNIX/admin/xscreensaver-4.04.2.tar.gz
[xscreensaver] / hacks / config / queens.xml
diff --git a/hacks/config/queens.xml b/hacks/config/queens.xml
new file mode 100644 (file)
index 0000000..7c52fcf
--- /dev/null
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<screensaver name="queens" _label="Queens">
+
+  <command arg="-root"/>
+
+  <number id="speed" type="slider" arg="-delay %"
+          _label="Speed" _low-label="Slow" _high-label="Fast"
+          low="0" high="50000" default="20000"
+          convert="invert"/>
+
+  <boolean id="showfps" _label="Show Frames-per-Second" arg-set="-fps"/>
+
+  <_description>
+Solves the N-Queens problem (where, in this program, N is between 5 and
+10 queens.)  The problem is: how may one place N queens on an NxN
+chessboard such that no queen can attack a sister?
+Written by Blair Tennessy.
+  </_description>
+</screensaver>