A simple web based die roller I made to learn Ruby, and emulate the defunct Invisible Castle.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
dieroller/display.rb.bk

6 lines
147 B

#!/usr/bin/ruby
require "./db"
result = $my.query("SELECT * from rolls")
result.num_rows.times do
puts result.fetch_row.join("\s") + "<br />"
end