Download source
Download debian package (amd64)
Download Windows installer:   64-bit binaries   32-bit binaries
Download Windows zipfile:   64-bit binaries   32-bit binaries
Homebrew formula
Github site

Brain Jam

Brain Jam is a solitaire card game. It is similar to soltaire games like Freecell in that the entire deck is dealt out face up at the start, so the player has full information. However, unlike many solitaire programs, Brain Jam comes with a large but finite number of initial deck orderings, all of which are guaranteed to be solvable. Thus there is no luck factor in playing Brain Jam.

Once you have solved a given configuration, you can then go back and work to find a new solution with fewer moves. The program includes a sophisticated undo/redo feature that lets you explore multiple solution paths at once.

example screenshot of game

Brain Jam runs on Linux, Windows, and Mac. See the top of the page for the available download options:

In addition to the graphical interface shown here, the Linux version also has a text-based interface available (using ncursesw).

Brain Jam comes with built-in documentation. Type "?" or F1 inside the program to learn the rules of the game and how to play.

Credits and License

This program is written by Brian Raiter. It is based on an original Windows program written by Peter Liepa. You can find that program at the original Brain Jam site.

The game configurations in this program were created by Peter Liepa, with assistance from Bert van Oortmarssen, and are used with their permission.

The graphics that appear in this program (with the execption of the original Brain Jam icon) are either taken from public domain sources, or have been explicitly placed in the public domain by their creators.

The rules of Brainjam are based on "Baker's Game", described by Martin Gardner in the June 1968 issue of Scientific American.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 3, or (at your option) any later version. See the GNU General Public License for more details.

Share and Enjoy. Send questions, comments, and bug reports to Please let me know if you encounter troubles installing or using the program.

Brian Raiter