This page contains the code for the experiments I coded in oTree, plus a short video showing what it looks like in action. Feel free to explore the implementation, reuse parts of it, or reach out if you have questions.
Inflation Experiment