Skip to content

cryptolu/RD2018

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

RD2018

This repository contains the code used to generate the boards and transactions for the Blockchain game.

Dependencies

python3, pdflatex and various latex packages (mainly 'labels').

Usage

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

About

Blockchain game material

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published