Created
March 3, 2017 19:10
-
-
Save itzsaga/8512bc5642188b1b72d6a1d5204093c5 to your computer and use it in GitHub Desktop.
The solution to my ternary problem
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
| puts draw?(board) ? "Cats Game!" : "Congratulations #{winner(board)}!" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment