The AROS Archives(anonymous IP:,343) 


   o Audio (94)
   o Datatype (15)
   o Demo (46)
   o Development (243)
   o Document (61)
   o Driver (19)
   o Emulation (60)
   o Game (522)
   o Graphics (221)
   o Library (22)
   o Network (60)
   o Office (21)
   o Utility (245)
   o Video (18)

Total files: 1647

Full index file
Recent index file

Part of aros exec
 Readme for:  Game » Puzzle »


Description: Sliding-block puzzles with ascii graphics.
Download:       (TIPS: Use the right click menu if your browser takes you back here all the time)
Size: 188kb
Version: 1.3
Date: 11 Aug 17
Author: Brian Raiter
Submitter: cavemann
Category: game/puzzle
Replaces: game/puzzle/
License: GPL
Distribute: yes
FileID: 1615
Comments: 0
Snapshots: 3
Videos: 0
Downloads: 179  (Current version)
210  (Accumulated)
Votes: 0 (0/0)  (30 days/7 days)

[Show comments] [Show snapshots] [Show videos] [Show content] [Replace file] 
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

cblocks [-hvql] [-D DIR] [-S DIR] [NAME] [-LEVEL]

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.

    Look for puzzle files in the directory DIR instead of the default. 

    Display a brief summary of the command-line options and exit. 

    List the available puzzle files and exit. 

    Play quietly; don't ring the bell during the game. 

    Save your solutions in the directory DIR instead of the default. 

    Display version information and exit. 

    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. 

    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. 

    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

Key Commands:
While a game is in progress, the keys listed below (and the mouse, if
available) can be used as follows:

    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. 

    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. 

    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. 

    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. 

    Undo the previous move. 

    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. 

    Redo the last move (presuming the last move was an undo). 

    Redo the last step. 

    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.) 

    Restore the last saved position. Undo and redo information is also

    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. 

    Restart the game from the beginning. Undo and redo information is
    lost, but saved positions are retained. 

    Go to the previous level, quitting the current one. 

    Go to the next level, quitting the current one. 

    Quit; exit the program. 

    Redraw the screen. 

    Display brief help on the key commands. 

cblocks is copyright (C) 2000 by Brian Raiter

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
COPYING, included in the distribution, for more details.

Copyright © 2005 - 2024 The AROS Archives All Rights Reserved