A downloadable game for Windows, macOS, and Linux

Rufaswap is a simple permuted picture puzzle app where the challenge is to restore the picture elements to their proper place.  Two elements are selected with cursor clicks to initiate a swap.  User controls the level of difficulty by choosing the number of slices.

It uses a thin SDL2 binding from Dan Vazquez, a thin OpenGL binding from "Lumen", a PNG reader for Ada by Stephen Sanguine, and SFML-Audio (because of its elegant audio interface).

Works on windows(mswin32), Macs running OS-X and PCs running GNU/Linux.

Simply unzip and run.  If the binary executables do not run on your system then follow the build instructions below.

Published Mar 21, 2016
PlatformsWindows, macOS, Linux
Tags2D, Casual, kids, Relaxing, Singleplayer

Install instructions

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

Users should then cd to <install_directory>, then, at the command line, type the executable name to start the game.

Windows users  type "rufaswap.exe" at the command prompt.

Mac users may navigate to the installation directory in Finder and click the "rufaswap.app" icon named "RufasSwap".

The <install_directory> should contain subdirectories named "data", "libs", "pix".

## Build instructions for Rufaswap

Three [pre-compiled] binary executables are provided, one for Windows,  one for gnu/linux and one for OS-X that hopefully work as is.

Build scripts are now described:



msWin32 => wcmp.bat

...is a build script that requires libraries included in ./libs/win/.


<ocmpss.sh>: build script for generating a portable executable that will run on most OS-X platforms whether or not they have non-standard libraries such as SDL2, SFML installed. I used this to build the executable that I deliver, named rufaswap_osx.


<lcmpd.sh>: utilizes the relocatable libraries that I deliver in this bundle under ./libs/. I use this to build the gnu/linux executable that I deliver, named rufaswap_gnu, which should run in the presence of ./libs, whether or not your system has the libraries in it. If this binary does not run on your linux distribution, then you will have to try to recompile it yourself with this script.


rswap9nov17.tar.gz 126 MB

Development log

Leave a comment

Log in with your itch.io account to leave a comment.