# danishkhan/ruby_koans forked from neall/ruby_koans

Commits on Jan 3, 2010
1. `…show/2072574)`
jimweirich committed Jan 3, 2010
2. `…/2070657)`
jimweirich committed Jan 2, 2010
3. jimweirich committed Jan 2, 2010
4. jimweirich committed Jan 2, 2010
5. jimweirich committed Jan 2, 2010
6. jimweirich committed Jan 2, 2010
7. jimweirich committed Jan 2, 2010
Commits on Dec 31, 2009
1. jimweirich committed Dec 31, 2009
Commits on Dec 24, 2009
1. jimweirich committed Dec 24, 2009
2. jimweirich committed Dec 24, 2009
Commits on Dec 23, 2009
1. jimweirich committed Dec 22, 2009
2. jimweirich committed Dec 22, 2009
3. jimweirich committed Dec 22, 2009
Commits on Dec 21, 2009
1. jimweirich committed Dec 21, 2009
2. jimweirich committed Dec 21, 2009
3. jimweirich committed Dec 21, 2009
4. jimweirich committed Dec 21, 2009
5. jimweirich committed Dec 21, 2009
6. jimweirich committed Dec 21, 2009
7. `…ved SOURCE directory reference.`
jimweirich committed Dec 21, 2009
8. jimweirich committed Dec 21, 2009
9. jimweirich committed Dec 21, 2009
10. jimweirich committed Dec 21, 2009
11. jimweirich committed Dec 21, 2009
12. jimweirich committed Dec 21, 2009
Commits on Oct 13, 2009
1. bret committed Oct 12, 2009
Commits on Oct 9, 2009
1. ```Seems in-line with the other koans at this point
to require the student remove the bang.```
Ken Barker committed Oct 9, 2009
Commits on Oct 8, 2009
1. coreyhaines committed with Marc Peabody Oct 7, 2009
2. `…are also in about_array_assignment.rb`
rfelix committed with Marc Peabody Aug 22, 2009
3. Robert Osborne committed with Marc Peabody Jun 27, 2009
4. Robert Osborne committed with Marc Peabody Jun 28, 2009
5. `…the first def.`
Robert Osborne committed with Marc Peabody Jun 29, 2009
6. Robert Osborne committed with Marc Peabody Jun 30, 2009
7. capitalist committed with Marc Peabody Feb 10, 2009
8. ```There are three twos = 200 and one five = 50 => so this should be 250

Also, here's my score method - I feel like I over complicated this:
# def score(dice)
#   #count em up
#   results = dice.inject(Hash.new) {|h, die| h[die] = h[die] ? h[die] + 1 : 1; h }
#
#   #convert to scores
#   score = results.keys.inject(0) do |s,k|
#     s += \
#     case k
#     when 1
#       results[k] >= 3 ? 1000 + (results[k]-3)*100  : results[k] * 100
#     when 2..4,6
#       results[k] >= 3 ? 100*k : 0
#     when 5
#       results[k] >= 3 ? 500 + (results[k]-3)*50  : results[k] * 50
#     else
#       0
#     end
#   end
# end```
capitalist committed with Marc Peabody Feb 10, 2009
Something went wrong with that request. Please try again.