diff --git a/docs/projects/red-light-green-light.md b/docs/projects/red-light-green-light.md index 904166e3..f6c3068f 100644 --- a/docs/projects/red-light-green-light.md +++ b/docs/projects/red-light-green-light.md @@ -149,12 +149,12 @@ At all times, gravity is applied to the @boardname@, so the acceleration strengt If the acceleration strength is far from that value, say ``1100`` or ``900``, we can assume that the player is moving. To compute this we use the formula: ``` -moving = | acc strength - 1000 | > 1000 +moving = | acc strength - 1000 | > 100 ``` Now that we know the math for it, we can turn this into code. -```block +```blocks let REDLIGHT = 0 let state = 0 let GREENLIGHT = 0