Skip to main content
. 2021 Nov 1;9(4):e27761. doi: 10.2196/27761

Table 1.

Equations used in each stage to set the game environment.

Stage Input Distance Speed Time
1 X0a, Ib X0+(IXsc) Constant Constant
2 X0, DVd X0+Random (–DV, DV) Constant Constant
3 X0, Sp0e, Ispf X0 Sp0+(IspSX) Constant
4 N/Ag Random (–7.5,7.5) Constant Constant

aX0: starting distance.

bI: incremental distance.

cIXS: incremental distance as function of score.

dDV: distance variance.

eSp0: initial speed.

fIsp: incremental speed.

gN/A: not applicable.