|(anonymous IP: 22.214.171.124,226)|
Total files: 1496
Full index file
Recent index file
Part of aros exec
[Show comments] [Show snapshots] [Show videos] [Show content] [Replace file]
Name: ------------------------------------------- This update should fix a stability problem. If you've had a problem exiting this game, then please try this update. ------------------------------------------- cblocks - sliding-block puzzles for the Linux console Synopsis: cblocks [-hvql] [-D DIR] [-S DIR] [NAME] [-LEVEL] Description: cblocks allows one to play sliding-block puzzles on the Linux console. Each game is composed of a collection of blocks of varying sizes resting in a tray. The object of puzzle is to move the blocks from their starting configuration to some final configuration. The blocks cannot be picked up; one is only allowed to slide them into an empty area. In some games, the solution simply requires getting the largest block from one side of the tray to the other. Other games may require swapping the position of two identically-shaped blocks. Some games require all the blocks to be in a specific position at the end. There are several puzzles, each with a unique configuration of blocks, goals, and enclosing trays. The mechanics of the game are very simple, but reaching the solution can be quite challenging. Options: -D DIR Look for puzzle files in the directory DIR instead of the default. -h Display a brief summary of the command-line options and exit. -l List the available puzzle files and exit. -q Play quietly; don't ring the bell during the game. -S DIR Save your solutions in the directory DIR instead of the default. -v Display version information and exit. -w Display your solution with the least number of moves for the level specified on the command line (using NAME and/or LEVEL) as a series of text images, and exit. NAME Play only the games in the file NAME. NAME can be either the name (or the prefix of a name) of a file in the puzzle files directory (i.e., one of the files displayed with the -l option), or an explicit filename. In the latter case, the saving of solutions will be disabled. -LEVEL Start playing at level LEVEL. (This number is the same as the index number displayed in the upper right corner while playing.) If this option is not used, cblocks begins with the first unsolved puzzle. Key Commands: While a game is in progress, the keys listed below (and the mouse, if available) can be used as follows: hjkl Use the vi keys (h=left, j=down, k=up, l=right) to move the selection between blocks. If there is more than one block in the given direction from the currently selected block, the nearest one will be taken. Blocks can also be selected using the left mouse button. arrows The arrow keys move the cursor, which can also be used to change the selection. When the cursor lies over a block, it is automatically selected. These keys are more useful for changing the selection when a block does not lie in an orthogonal direction from any of its closest neighbors. HJKL Using shift with the vi keys moves the selected block in the appropriate direction. Blocks may also be moved by dragging with the left mouse button. g Display the goal -- i.e., where each block must be moved to. Blocks that do not appear in the goal display are not required to be in any particular position in order to solve the puzzle. x Undo the previous move. X Undo the previous step. A "step" is a sequence of moves that all operate on the same block. Clicking the right mouse button will also undo the previous step. z Redo the last move (presuming the last move was an undo). Z Redo the last step. s Save the current position. There is no limit on the number of positions that can be saved. (A capital S is displayed on the right when one or more positions have been saved.) r Restore the last saved position. Undo and redo information is also restored. S Save the current position to disk. The position will be available via redo whenever you return to this level. Note that this option is only available for an unsolved puzzle. The position will be remembered until a complete solution is found or until this command is used again. R Restart the game from the beginning. Undo and redo information is lost, but saved positions are retained. P Go to the previous level, quitting the current one. N Go to the next level, quitting the current one. q Quit; exit the program. Ctrl-L Redraw the screen. ? Display brief help on the key commands. License: cblocks is copyright (C) 2000 by Brian Raiter breadbox()muppetlabs.com This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the file COPYING, included in the distribution, for more details.