Tetris/Julia: Difference between revisions
m
Fixed syntax highlighting.
Thundergnat (talk | contribs) m (Avoid miscounting task entries twice) |
m (Fixed syntax highlighting.) |
||
Line 6:
{{works with|Julia|1.0}}
<
bg::Int # ANSI code of tetromino color (bground of " ")
d::Array{Int,2} # d[b,1:2] = row,col/2 offset of block b
Line 109:
end end end
sleep(0.01) # not to take all CPU time
end end end</
The following long comment block has to be appended to program code:
|