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] [--window-id
10       number] [--install] [--visual visual] [--delay  microseconds]  [--wire‐
11       frame] [--fps]
12

DESCRIPTION

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

OPTIONS

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

ENVIRONMENT

43       DISPLAY to get the default host and display number.
44
45       XENVIRONMENT
46               to  get  the  name of a resource file that overrides the global
47               resources stored in the RESOURCE_MANAGER property.
48
49       XSCREENSAVER_WINDOW
50               The window ID to use with --root.
51

BUGS

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

SEE ALSO

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

AUTHOR

71       Blair Tennessy <tennessb@unbc.ca>, 20-April-2002.
72
73
74
75
76X Version 11               6.06-1.fc37 (12-Dec-2022)                queens(6x)
Impressum