From bb0f10ae66a95564efe0807d65f36427b27f842f Mon Sep 17 00:00:00 2001 From: Akira Laine Date: Sun, 10 Jan 2016 19:23:59 +1100 Subject: [PATCH] fixed spacing issue on waypoint: counting cards readded language stuff --- .../basic-javascript.json | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/seed/challenges/01-front-end-development-certification/basic-javascript.json b/seed/challenges/01-front-end-development-certification/basic-javascript.json index 52052d578a..29d8a708b2 100644 --- a/seed/challenges/01-front-end-development-certification/basic-javascript.json +++ b/seed/challenges/01-front-end-development-certification/basic-javascript.json @@ -870,10 +870,10 @@ "" ], "tail": [ - "(function(){", - "if (myStr !== undefined){", - "return 'myStr = '+ JSON.stringify(myStr);}", - "else{return null;}})();" + "(function(){", + "if (myStr !== undefined){", + "return 'myStr = '+ JSON.stringify(myStr);}", + "else{return null;}})();" ], "solutions": [ "var myStr = \"\\\\ \\t \\t \\r \\n\";" @@ -3011,9 +3011,8 @@ "In the casino game Blackjack, a player can gain an advantage over the house by keeping track of the relative number of high and low cards remaining in the deck. This is called Card Counting.", "Having more high cards remaining in the deck favors the player. Each card is assigned a value according to the table below. When the count is positive, the player should bet high. When the count is zero or negative, the player should bet low.", "
ValueCards
+12, 3, 4, 5, 6
07, 8, 9
-110, 'J', 'Q', 'K','A'
", - "You will write a card counting function. It will receive a card parameter and increment or decrement the global count variable according to the card's value (see table). The function will then return the current count and the string \"Bet\" if the count is positive, or \"Hold\" if the count is zero or negative.", - "Example Output", - "-3 Hold
5 Bet" + "You will write a card counting function. It will receive a card parameter and increment or decrement the global count variable according to the card's value (see table). The function will then return the current count and the string \"Bet\" if the count is positive, or \"Hold\" if the count is zero or negative.

", + "Example Output
-3 Hold
5 Bet
" ], "releasedOn": "January 1, 2016", "challengeSeed": [