This repository contains the code used to generate the boards and transactions for the Blockchain game.
python3, pdflatex and various latex packages (mainly 'labels').
- For example, generate 10 sets of boards. Each set of boards contains 6 identical sheets. The generated .tex file is automatically compiled using pdflatex.
> cd build
> ../src/gen_boards.py -p 10 -n 6 -c
> evince boards.pdf & # for visualization/print
- For example, generate 3 sheets with 48 transactions on each sheet. Each transaction has 10% probability to be invalid. The generated .tex file is automatically compiled using pdflatex.
> cd build
> ../src/gen_transactions.py -p 3 -n 48 -e 0.1 -c
> evince transactions.pdf & # for visualization/print