Replaced wiki links with new forum links
This commit is contained in:
@@ -5809,7 +5809,7 @@
|
||||
"We are now going to try and combine some of the stuff we've just learned and create the logic for a slot machine game.",
|
||||
"For this we will need to generate three random numbers between <code>1</code> and <code>3</code> to represent the possible values of each individual slot.",
|
||||
"Store the three random numbers in <code>slotOne</code>, <code>slotTwo</code> and <code>slotThree</code>.",
|
||||
"Generate the random numbers by using the system we used earlier (an explanation of the formula can be found <a href='https://github.com/FreeCodeCamp/FreeCodeCamp/wiki/Waypoint-Generate-Random-Whole-Numbers-within-a-Range#explanation' target='_blank'>here</a>):",
|
||||
"Generate the random numbers by using the system we used earlier (an explanation of the formula can be found <a href='http://forum.freecodecamp.com/t/challenge-generate-random-whole-numbers-within-a-range/18187' target='_blank'>here</a>):",
|
||||
"<code>Math.floor(Math.random() * (3 - 1 + 1)) + 1;</code>"
|
||||
],
|
||||
"challengeSeed": [
|
||||
@@ -5966,7 +5966,7 @@
|
||||
"Ahora vamos a tratar de combinar algunas de las cosas que hemos aprendido para crear la lógica de una máquina tragamonedas.",
|
||||
"Para esto tendremos que generar tres números aleatorios entre <code>1</code> y <code>3</code> que representen los valores posibles de cada casilla.",
|
||||
"Guarda los tres números aleatorios en <code>slotOne</code>, <code>slotTwo</code> y <code>slotThree</code>.",
|
||||
"Genera los números aleatorios utilizando el sistema que usamos anteriormente (puedes encontrar una explicación de la fórmula <a href=\"https://github.com/FreeCodeCamp/FreeCodeCamp/wiki/Waypoint-Generate-Random-Whole-Numbers-within-a-Range#explanation\">aquí</a>):",
|
||||
"Genera los números aleatorios utilizando el sistema que usamos anteriormente (puedes encontrar una explicación de la fórmula <a href=\"http://forum.freecodecamp.com/t/challenge-generate-random-whole-numbers-within-a-range/18187\">aquí</a>):",
|
||||
"<code>Math.floor(Math.random() * (3 - 1 + 1)) + 1;</code>"
|
||||
]
|
||||
}
|
||||
|
Reference in New Issue
Block a user