We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9229d86 commit 6906812Copy full SHA for 6906812
v0.3/handbook/libraries/stdlib.md
@@ -308,8 +308,9 @@ bind
308
takes the higher score
309
~~~
310
search
311
- [#scores pac-man donkey-kong]
312
- best-score = math/min[a: pac-man, b: donkey-kong]
+ pac-man = 10
+ donkey-kong = 13
313
+ best-score = math/max[a: pac-man, b: donkey-kong]
314
bind
315
[#ui/text text: "The winning score is {{best-score}}"]
316
@@ -337,7 +338,8 @@ bind
337
338
takes the lower score
339
340
341
342
343
worst-score = math/min[a: pac-man, b: donkey-kong]
344
345
[#ui/text text: "The losing score is {{worst-score}}"]
0 commit comments