From 8a2d46d4476f67a1e5b39b892b00a5d4a17ac770 Mon Sep 17 00:00:00 2001 From: abalone23 Date: Tue, 13 Jun 2017 12:48:54 -0700 Subject: [PATCH] add pause after addScore (#413) It's necessary to add a pause after addScore in order to display showNumber and showString based on this ticket: https://github.com/Microsoft/pxt/issues/2280 --- docs/projects/rock-paper-scissors.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/projects/rock-paper-scissors.md b/docs/projects/rock-paper-scissors.md index 30b239f1..d7662978 100644 --- a/docs/projects/rock-paper-scissors.md +++ b/docs/projects/rock-paper-scissors.md @@ -166,11 +166,12 @@ input.onButtonPressed(Button.A, () => { ## Step 6: Prove you're the greatest! -After your @boardname@ can add `1` to the score, show how many wins you have. +After your @boardname@ can add `1` to the score, show how many wins you have. Remember to add a pause after addScore so text will display. ```blocks input.onButtonPressed(Button.A, () => { game.addScore(1) + basic.pause(1) basic.showString("WINS:") basic.showNumber(game.score()) })