1queens(6x)                    XScreenSaver manual                   queens(6x)
2
3
4

NAME

6       queens - n queens screensaver
7

SYNOPSIS

9       queens  [-display  host:display.screen]  [-window]  [-root]  [-install]
10       [-visual visual] [-delay microseconds] [-wireframe] [-fps]
11

DESCRIPTION

13       The queens program solves the n-queens problem (where, in this program,
14       N  is between 5 and 10 queens) using a straightforward backtracking al‐
15       gorithm.  The problem is: how may one place N queens on an  NxN  chess‐
16       board such that no queen can attack a sister?
17

OPTIONS

19       queens accepts the following options:
20
21       -window Draw on a newly-created window.  This is the default.
22
23       -root   Draw on the root window.
24
25       -install
26               Install a private colormap for the window.
27
28       -visual visual
29               Specify  which  visual  to use.  Legal values are the name of a
30               visual class, or the id number (decimal or hex) of  a  specific
31               visual.
32
33       -wireframe
34               Render in wireframe instead of solid.  -fps Display the current
35               frame rate, CPU load, and polygon count.
36

ENVIRONMENT

38       DISPLAY to get the default host and display number.
39
40       XENVIRONMENT
41               to get the name of a resource file that  overrides  the  global
42               resources stored in the RESOURCE_MANAGER property.
43

BUGS

45       It's not unknown for this and other OpenGL hacks to fail under hardware
46       accelaration (UtahGLX) and take the X server with them.  Texture images
47       must be 16x16 or 32x32 or 64x64 etc.
48

SEE ALSO

50       X(1),   xscreensaver(1)  xscreensaver-settings(1),  xscreensaver-getim‐
51       age(6x)
52
54       Copyright © 2002 by Blair Tennessy.  Permission to use,  copy,  modify,
55       distribute,  and  sell this software and its documentation for any pur‐
56       pose is hereby granted without fee, provided that the  above  copyright
57       notice  appear  in  all  copies and that both that copyright notice and
58       this permission notice appear in supporting documentation.   No  repre‐
59       sentations are made about the suitability of this software for any pur‐
60       pose.  It is provided "as is" without express or implied warranty.
61

AUTHOR

63       Blair Tennessy <tennessb@unbc.ca>, 20-April-2002.
64
65
66
67
68X Version 11               6.04-1.fc36 (06-Jun-2022)                queens(6x)
Impressum