Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
queens(6)		      XScreenSaver manual		     queens(6)

NAME
       queens -	n queens screensaver

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

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

OPTIONS
       queens accepts the following options:

       -window Draw on a newly-created window.	This is	the default.

       -root   Draw on the root	window.

       -install
	       Install a private colormap for the window.

       -visual visual
	       Specify	which  visual  to use.	Legal values are the name of a
	       visual class, or	the id number (decimal or hex) of  a  specific
	       visual.

       -wireframe
	       Render in wireframe instead of solid.  -fps Display the current
	       frame rate, CPU load, and polygon count.

ENVIRONMENT
       DISPLAY to get the default host and display number.

       XENVIRONMENT
	       to get the name of a resource file that	overrides  the	global
	       resources stored	in the RESOURCE_MANAGER	property.

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

SEE ALSO
       X(1), xscreensaver(1) xscreensaver-demo(1), xscreensaver-getimage(1)

COPYRIGHT
       Copyright (C) 2002 by Blair Tennessy.  Permission to use, copy, modify,
       distribute, and sell this software and its documentation	for  any  pur-
       pose  is	 hereby	granted	without	fee, provided that the above copyright
       notice appear in	all copies and that both  that	copyright  notice  and
       this  permission	 notice	appear in supporting documentation.  No	repre-
       sentations are made about the suitability of this software for any pur-
       pose.  It is provided "as is" without express or	implied	warranty.

AUTHOR
       Blair Tennessy <tennessb@unbc.ca>, 20-April-2002.

X Version 11		      5.44 (20-Mar-2020)		     queens(6)

NAME | SYNOPSIS | DESCRIPTION | OPTIONS | ENVIRONMENT | BUGS | SEE ALSO | COPYRIGHT | AUTHOR

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=queens&sektion=6&manpath=FreeBSD+12.2-RELEASE+and+Ports>

home | help