Created
August 1, 2020 20:44
-
-
Save satan87/9a3585a16b947310a94a52053fe902af 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
private func generateCombination() -> Combination { | |
var dice = Dice() | |
dice.roll() | |
let valueOne = dice.value | |
dice.roll() | |
let valueTwo = dice.value | |
dice.roll() | |
let valueThree = dice.value | |
return Combination(one: valueOne, two: valueTwo, three: valueThree) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment