Anonymous user
Galton box animation: Difference between revisions
m
→{{header|Ruby}}
m (→{{header|Ruby}}: key symbols on linux) |
|||
Line 266:
{{libheader|Shoes}}
[[File:galtonbox.shoes.png|thumb|Sample display of Ruby solution]]
<lang ruby>$rows_of_pins =
$width = $rows_of_pins * 10 + ($rows_of_pins+1)*14
|