Skip to content

Commit

Permalink
624
Browse files Browse the repository at this point in the history
Don't hate the player, hate the game.
  • Loading branch information
tomstuart committed May 10, 2011
1 parent a208835 commit 9650ddf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/golf.rb
@@ -1,6 +1,6 @@
a=Golf=Hash
i=0
%q^
%q
a.inject :*
a.split.sort_by{|w|w[1]}*" "
Expand Down Expand Up @@ -40,7 +40,7 @@
return e[-1][0] if e[-1][1] >= e.inject(0){|x,(y,z)|x+z}/2
b.map!{|x|x-[e[0][0]]}
}
^.split(/
.split(/
/).map{|$a|eval "def a.hole#{i+=1} a
#$a
Expand Down

0 comments on commit 9650ddf

Please sign in to comment.