Jump to content

Blackjack strategy: Difference between revisions

m
→‎{{header|Wren}}: Wren-trait -> Wren-iterate
m (Automated syntax highlighting fixup (second round - minor fixes))
m (→‎{{header|Wren}}: Wren-trait -> Wren-iterate)
Line 3,818:
{{libheader|Wren-dynamic}}
{{libheader|Wren-fmt}}
{{libheader|Wren-traititerate}}
<br>
This runs OK but takes a long time to do so - 6 minutes 21 seconds compared to less than 3 seconds for the Go example. As I also wrote the latter I'm confident it's a faithful translation.
Line 3,829:
import "./dynamic" for Struct
import "./fmt" for Fmt
import "./traititerate" for Indexed
 
var Rand = Random.new()
9,485

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.