extract Duece rule
rename deuce -> duece
extract both equal rule
extract player a win rule
extract player b win rule
refactor rules to loop
Merge pull request #3 from wingyplus/master

Extract rules functions to classes