3. Générateur de jeux

usage: dobble [-h] [-v] {check,build} ...

3.1. Named Arguments

-v, --version show program’s version number and exit

3.2. Commands

command Possible choices: check, build

3.3. Sub-commands:

3.3.1. check

Check properties about the game.

dobble check [-h] [-f [FILE]] [-r] [-v] [-t] [-s] [-q]

3.3.1.1. Named Arguments

-f, --file

Input file. Default is standard input.

Default: <_io.TextIOWrapper name=”<stdin>” mode=”r” encoding=”UTF-8”>

-r, --regular Check if game is regular.
-v, --valid Check if game is valid.
-t, --trivial Check if game is trivial.
-s, --summary

Print somme information about the game.

Default: False

-q, --quiet

Does not print anything: exit status is 0 if condition are met, 1 otherwise.

Default: False

Syntax
Games are given line per line: each line is a different card (blank lines are ignored). Each card is a white space separated list of symbols (a symbol can be any string not containing white spaces).

3.3.2. build

Build some game.

dobble build [-h] -s SIZE [-f {tex,raw}]

3.3.2.1. Named Arguments

-s, --size Size of the game.
-f, --format

Possible choices: tex, raw

Output format: “tex” (LuaLaTeX code), “raw” (raw list of card numbers).

Default: « raw »