Created
November 14, 2017 16:45
-
-
Save btaitelb/183775caeaacae34182ddbc573e3752d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require './dice_game' | |
class WaitFor7 | |
include DiceGame | |
def winner? | |
last_roll == 7 | |
end | |
end | |
WaitFor7.new.run |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment