8-queens and fileselect demos in Incoming

From: Grant Edwards <grante_at_rosevax.rosemount.com>
Date: Sun, 28 Jan 1996 00:02:29 -0600 (CST)

I've updated the 8-queens puzzle and fileselect STk demos so that they work
with 3.0b2. They're in the incoming directory on kaolin.unice.fr:

queens.tar.gz

  The 8-queens puzzle where you try to place 8 queens on a chess-board so
  that none of the queens can take any of the others in a single move. The
  program will let you try to solve the puzzle (making sure that you follow
  the rules), or it will solve it starting either with an empty board or a
  partial solution. If I do say so myself, it's a neat little program that
  demonstrates the use of continuations and is a classic example of
  recursive, depth-first search of a solution space. [and people thought
  all that tuition money was wasted...]

fileselect.tar.gz.

  A simple (but useful) fileselect box for STk programs that does the usual
  things:
  
   - Displays a scrollable list of the files in the current directory.
   
   - Allows the user to navigate around by double-clicking on
     directories.
       
   - Filters the files in the current directory when the user
     enters a string containing expandable wild-card characters.

   - Queries the user for permission to overwrite an existing file.
   
   - Verifies read or write privileges for the selected file, notifying
     the user of any problems.
   
   - Notifies the user of any errors that occur when it optionally opens
     the file.
     
   - Returns the selected pathname (and optionally the opened port)
     to the calling program.

-- 
Grant Edwards
Rosemount Inc.
grante_at_rosemount.com
Received on Sun Jan 28 1996 - 07:06:09 CET

This archive was generated by hypermail 2.3.0 : Mon Jul 21 2014 - 19:38:59 CEST