---
name: "make-pysol-freecell-board"
section: "6"
platform: "linux"
package: "freecell-solver-bin"
version: "5.0.0-2.1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/fc-solve-board_gen"
---

# make-pysol-freecell-board(6)

Programs to generate boards to be used as input to Freecell Solver.

Part of [fc-solve-board\_gen(6)](/fc-solve-board_gen/6.md).

## NAME

pi-make-microsoft-freecell-board, make\_pysol\_freecell\_board.py - Programs to generate boards to be used as input to Freecell Solver.

## SYNOPSIS

**pi-make-microsoft-freecell-board** *\[-t\]* *board-number*

or for make\_pysol\_freecell\_board.py:

**make\_pysol\_freecell\_board.py** *\[-t\]* *\[-F\]* *\[--ms\]* *board-number* \[*game-string*\]

## DESCRIPTION

These programs are command-line programs that can generate the *initial* board of the games of several popular Solitaire implementations. Those boards can be in turn be input to **fc-solve** by means of a pipeline, or placed inside a file for safe-keeping.

**make\_pysol\_freecell\_board.py** also accepts an optional third argument which indicates the game variants. This type defaults to Freecell, but is useful for generating the boards of other games. Note that using this flag still requires one to use the "--game" flag of **fc-solve**, if necessary.

**make\_pysol\_freecell\_board.py** also accepts a flag called *-F* or *--pysolfc* that deals the PySolFC boards instead of the classic PySol ones, and one called *--ms* or *-M* that deals Microsoft Freecell/Freecell Pro deals even for higher seeds.

A common paradigm for using those programs is something like:

```
    bash:~$ pi-make-microsoft-freecell-board -t 11982 | fc-solve -l gi
```

If the "-t" option is specified, then the 10 cards are printed with "T"'s, instead of "10"'s. While **fc-solve** can accept either as input, it may prove useful for other solvers or solitaire implementations which do not accept "10"'s.

Here is a short description of each program:

**make\_pysol\_freecell\_board.py**

A Python script that generates the boards of the various games of PySol.

**pi-make-microsoft-freecell-board**

A program that generates the boards of Microsoft Freecell and of the Freecell Pro implementation of Freecell.

## OPTIONS

*board-number* is the board number as a decimal number.

*game-string* is a string describing the game. Valid strings and their respective games are:

bakers\_game        - Baker's Game

bakers\_dozen       - Baker's Dozen

beleaguered\_castle - Beleaguered Castle

citadel            - Citadel

cruel              - Cruel

der\_katz           - Der Katzenschwantz

die\_schlange       - Die Schlange

eight\_off          - Eight Off

fan                - Fan

forecell           - Forecell

freecell           - Freecell (the default)

good\_measure       - Good Measure

ko\_bakers\_game     - Kings' Only Baker's Game

relaxed\_freecell   - Relaxed Freecell

relaxed\_seahaven   - Relaxed Seahaven Towers

seahaven           - Seahaven Towers

simple\_simon       - Simple Simon

streets\_and\_alleys - Streets and Alleys

## SEE ALSO

**fc-solve** (6)

gen-multiple-pysol-layouts (6)

/usr/share/doc/freecell-solver-FCS\_VERSION/board\_gen/README

## AUTHOR

Shlomi Fish, \<http://www.shlomifish.org/\> .
