puzzle(1X)puzzle(1X)NAME
puzzle - 15-puzzle game for X
SYNOPSIS
puzzle [-option...]
OPTIONS
This option specifies the display to use; see X(1X). This option specifies the size and position of the puzzle window; see X(1X). This
option specifies the size of the puzzle in squares. This option specifies the speed in tiles per second for moving tiles around. This
option specifies an image file containing the picture to use on the tiles. Try "mandrill.cm." This only works on 8-bit pseudo-color
screens. This option indicates that the program should create its own colormap for the picture option.
DESCRIPTION
Executing puzzle with no arguments plays a 4x4 15-puzzle. The control bar has two boxes in it. Clicking in the left box scrambles the
puzzle. Clicking in the right box solves the puzzle. Clicking the middle button anywhere else in the control bar causes puzzle to exit.
Clicking in the tiled region moves the empty spot to that location if the region you click in is in the same row or column as the empty
slot.
BUGS
The picture option should work on a wider variety of screens.
COPYRIGHT
Copyright 1988, Don Bennett.
SEE ALSO X(1X)AUTHOR
Don Bennett, HP Labs
puzzle(1X)
Check Out this Related Man Page
sudoku_generator(1) User Commands sudoku_generator(1)NAME
sudoku_generator - generate and solve Sudoku puzzles
SYNOPSIS
sudoku_generator [-n|--non-sym] [-d|--dump] [givens_count]
sudoku_generator -s|--solve|-p|--print sudoku_dump
DESCRIPTION
sudoku_generator generates, solves and prints Number Place puzzles, so called Sudokus. A Sudoku puzzle consists of 9 x 9 cells subdivided
into 9 regions with 3 x 3 cells. The rules are simple. There have to be the numbers from 1 to 9 in every row, column and region.
givens_count
Number of givens (<= 81). Default is 36. Generation of Sudoku puzzles with less than 26 givens takes very long.
sudoku_dump
String with 81 * 1-9 or _ (+ ignored).
OPTIONS -n, --non-sym
Generate a non-symmetric Sudoku puzzle. Default is symmetric.
-d, --dump
Dump the generated Sudoku puzzle (don't print).
-s, --solve sudoku_dump
Solve a Sudoku puzzle.
-p, --print sudoku_dump
Print a Sudoku puzzle.
-v, --version
Print version information and exit.
-h, --help
Print help message and exit.
COPYRIGHT
Copyright (C) 2005-2010, Thomas Gunther <tom@toms-cafe.de>
This GPL program comes with ABSOLUTELY NO WARRANTY; this is free software, and you are welcome to redistribute it under certain conditions;
see the source for details.
sudoku_generator 0.3.5 April 2010 sudoku_generator(1)
Heres my script.
How do I put a picture in it?#util to show picture in window
#version 1.0
#-colinok
#make window with box for picture
use Tk;
my $mw = new MainWindow;
$scrollbar = $mw -> Scrollbar();
$text = $mw -> Text(-height => 20, -width => 50, -yscrollcommand => ); ... (4 Replies)
Hi to all,
Iam doing a project in Free BSD and i am stuck with a puzzle. Please any one of you clarify my doubt :
How to add a mechanism to check the status of the file system which alerts the root user via. email if any single partition is greater than 90% full. This alert should include the... (3 Replies)
Can anybody plz help me to solve this puzzle?
amt=00002280674231
((amt = amt + 0)) # to remove leading zero's
echo $amt
prints -2014293065
but this works fine for numbers less than 2000000000.
Thanks
S (3 Replies)
An interesting puzzle. I run character based compiled C-Programs in a Unix environment on PCs in a Window. I want to be able to call up and display in a separate window a picture of a product called by a Unix shell script from within my Unix program.
Ideally I would like to have a script that... (4 Replies)
I'm new to UNIX and have got some of the basics down, but I've got a puzzle I'm having difficulty working out. :confused:
Scenario:
Have FILE_A.JPG in DIR_A
Need to copy FILE_A 200 times and rename it 200 different names. List of 200 names in NAME_FILE.TXT
After renaming 200 files,... (4 Replies)
I have searched about 30 threads, a load of Google pages and cannot find what I am looking for. I have some of the parts but not the whole. I cannot seem to get the puzzle fit together.
I have three folders, two of which contain different versions of multiple files, dist/file1.php dist/file2.php... (4 Replies)
Hi, all,
I am writing a BST (Binary Search Tree).
What I am concerned about is
typedef struct BST{
struct BST *p_left;
struct BST *p_right;
void *p_data;
char *p_key;
unsigned int *length;
}BST;
I have to malloc some space for p_key.
How many of chars... (4 Replies)
Somebody on a thread in the (french) Mandriva Forum recently suggested a script, designed to provide a tool to display kind of "temporisation widgets" on the console (to be ultimately pasted in other more complex scripts).
One version of this script was something like the following, which seems... (6 Replies)
I've about 10 names say (John, Joseph, James, Peter, Allen, Diane, Patricia, Wendy, Marsha, Janice).
I want to create a crossword with these names. Rules are similar to a cross word puzzle, just that there is no puzzle. It's just a matrix with these names listed from "top to down" or "down to... (5 Replies)
Here's an interesting (to me, anyway) little puzzle.
Background:
I have a process that restores a number of large(ish) files from tape backup. As an individual file is being written, it is owned by root, then the ownership is changed when that file is complete. Since this process can take... (3 Replies)
I am working on a script to convert bank data to a csv file. I have the format done - columns etc. The final piece of the puzzle is to change the second field (after the R) of every line to reflect its' line number in the file. I am stumped. I can use awk on each line but need help looping through... (9 Replies)
Discussion started by: Melah Gindi
9 Replies
12. Post Here to Contact Site Administrators and Moderators
Is it just me or are the links to LinkedIn on the "Members" list not working any more? Clicking on Facebook, YouTube, etc work just fine.
I'm getting a 404 error (page no longer exists) but I know for sure that my page is there. Perhaps there's something wrong with my browser? Any ideas? (7 Replies)
Congratulations to RudiC for crossing the magic boundary of being thanked 3000 times! As someone who often has profited greatly from your insight i stand in awe before this achievement.
Thank you for your ongoing dedication and thank you for your willingness to share your knowledge!
bakunin
... (15 Replies)
Hi Gurus,
I have an I/P file which looks like
100 1
200 1
300 4
100 2
200 3
300 4
100 9
200 8
300 7
I would liek to get O/P as
100 200 300
1 1 4
2 3 4 (8 Replies)
Need your help in solving this puzzle. Any kind of help will be appreciated and link for any documents to read and learn and to deal with such scenarios would be helpful
Concatenate column1 and column2 of file 1. Then check for the concatenated value in Column1 of File2. If found extract the... (14 Replies)