This is an example of a Balloon Analogue Risk Task (Lejuez et al., 2002), a computerized measure of risk taking behavior. More information is available on http://www.impulsivity.org/measurement/BART.
A demonstration of an online version of the BART is available here: https://www.unipark.de/uc/testothek/?a=bart. Additional examples are included in the download file at the end of the page.
I cannot offer any support for the implementation or adaption of the script.
- Lejuez, C. W., Read, J. P., Kahler, C. W., Richards, J. B., Ramsey, S. E., Stuart, G. L., Strong, D. R., & Brown, R. A. (2002). Evaluation of a behavioral measure of risk taking: the Balloon Analogue Risk Task (BART). Journal of Experimental Psychology: Applied, 8, 75-84. doi:10.1037/1076-898X.8.2.75
Source files for Download:BART.zip