Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

26 lines (19 sloc) 0.23 kB
require 'bowling'
def perfect_score
['X'] * 11
end
def spare
[8,'/',5,4,1,1]
end
def spare_double
[8,'/','X',1,1]
end
def strike
['X',2,5,4,1]
end
def strike_double
['X','X',4,1]
end
def open_throw
[2,4,5,4]
end
Jump to Line
Something went wrong with that request. Please try again.