add win lose logic in ruby
Merge pull request #4 from gsperka/GWS/Add-win-lose-logic-to-models

add win lose logic in ruby