RufasSliders

From Free Software Directory
This is the approved revision of this page; it is not the most recent. View the most recent revision.
Jump to: navigation, search

[edit]

RufasSliders

https://github.com/fastrgv/RufasSlider
Large collection of 2D block slider puzzles including traffic rush and klotski

    1. RufasSlider Introduction

RufaSlider contains many block slider puzzles including the Klotski-style family and the Traffic-Rush family.

The Klotski family uses rectangles of 4 sizes: 1x1, 2x2, 1x2, 2x1. The objective in each game is stated near the window top, but usually involves moving a large block to a specified location within the window.

The Traffic-Rush family uses data, with 2x1, 1x2, 3x1, 1x3 rectangles. Here, the long rectangles represent cars or trucks that can only move [roll] lengthwise...the goal being to move the red car toward the "garage door" on the right.

Note that either game description file is a simple text file with a particular format that allows users to easily define additional puzzles.

Several other classic block slider games are included: Fifteen, Eight, Nine, Panama, MaBoy, GetMyGoat, 2-versions of HoleInOne, Suits, DirtyDozen, and 2-versions of LinkRings. There are also two solvers included called "bfs" (breadth-first-search), and "bfsr" that work for most bslider/rush puzzles. It expects a puzzle file name as input, and outputs a text file with a list of moves indicated as a block number and direction. Note that the (x)-key toggles the display of block numbers to enable following a solution generated by a solver.

To move a block, use the arrow keys. If the automatic block selector chooses the wrong block, simply click the cursor on the desired block before using the arrow key. Thusly, the games are laptop friendly.

Works on Macs running OS-X and PCs running GNU/Linux.

Documentation

Unzip the archive and you will see a new directory appear with a name like bundle+date", that you should rename to something like install_directory.

Linux users should then cd to install_directory, then, at the command line, type "rufaslider_gnu" to access any game. You may also double click its icon in file manager.

Mac users note that this game may be initiated in two ways. First, by opening a terminal, navigating to the install_directory, and typing "rufaslider_osx" on the command line. Second by navigating to the installation directory in Finder and clicking the "rufaslider.app" icon named "rufaslider".


The install_directory should contain subdirectories named "data", "libLocal", "incLocal", "puzzles".

To move a block, use the arrow keys (up),(dn),(lf),(rt); If there is an ambiguity and the "automatic" selection mechanism chooses the wrong block to be moved, simply click on the desired block with the cursor before hitting a directional arrow. At any time, hit the letter (r) to reset/restart, or (esc) to quit.

For Rush, Bslider and DirtyDozen, you use the (n) key to go to the next puzzle, which in general is more difficult. The (p) key takes you to the previous puzzle.

Remember that (x) toggles block letters that allow you to follow solution instructions from one of the autosolvers.





Licensing

License

Verified by

Verified on

Notes

Verified by

IanK

Verified on

1 November 2016




Leaders and contributors

Contact(s)Role
Rufas Cube (Fastrgv)primary developer


Resources and communication

Software prerequisites

KindDescription
Required to buildg++



Entry





Property "Submitted by" (as page type) with input value "{{{Submitted by}}}" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process.
"{{{Submitted date}}}" contains an extrinsic dash or other characters that are invalid for a date interpretation.










"primary developer" is not in the list (Maintainer, Contributor, Developer, Sponsor, Unknown) of allowed values for the "Role" property.










Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the page “GNU Free Documentation License”.

The copyright and license notices on this page only apply to the text on this page. Any software or copyright-licenses or other similar notices described in this text has its own copyright notice and license, which can usually be found in the distribution or license text itself.