Created
March 10, 2017 20:45
-
-
Save darthneel/00e8966f45ef2b64652985d78d11443f to your computer and use it in GitHub Desktop.
JSON structure for a standard playing card deck
This file contains 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
[ | |
{ | |
"suit": "hearts", | |
"value": 2 | |
}, | |
{ | |
"suit": "hearts", | |
"value": 3 | |
}, | |
{ | |
"suit": "hearts", | |
"value": 4 | |
}, | |
{ | |
"suit": "hearts", | |
"value": 5 | |
}, | |
{ | |
"suit": "hearts", | |
"value": 6 | |
}, | |
{ | |
"suit": "hearts", | |
"value": 7 | |
}, | |
{ | |
"suit": "hearts", | |
"value": 8 | |
}, | |
{ | |
"suit": "hearts", | |
"value": 9 | |
}, | |
{ | |
"suit": "hearts", | |
"value": 10 | |
}, | |
{ | |
"suit": "hearts", | |
"value": "J" | |
}, | |
{ | |
"suit": "hearts", | |
"value": "Q" | |
}, | |
{ | |
"suit": "hearts", | |
"value": "K" | |
}, | |
{ | |
"suit": "hearts", | |
"value": "A" | |
}, | |
{ | |
"suit": "diamonds", | |
"value": 2 | |
}, | |
{ | |
"suit": "diamonds", | |
"value": 3 | |
}, | |
{ | |
"suit": "diamonds", | |
"value": 4 | |
}, | |
{ | |
"suit": "diamonds", | |
"value": 5 | |
}, | |
{ | |
"suit": "diamonds", | |
"value": 6 | |
}, | |
{ | |
"suit": "diamonds", | |
"value": 7 | |
}, | |
{ | |
"suit": "diamonds", | |
"value": 8 | |
}, | |
{ | |
"suit": "diamonds", | |
"value": 9 | |
}, | |
{ | |
"suit": "diamonds", | |
"value": 10 | |
}, | |
{ | |
"suit": "diamonds", | |
"value": "J" | |
}, | |
{ | |
"suit": "diamonds", | |
"value": "Q" | |
}, | |
{ | |
"suit": "diamonds", | |
"value": "K" | |
}, | |
{ | |
"suit": "diamonds", | |
"value": "A" | |
}, | |
{ | |
"suit": "clubs", | |
"value": 2 | |
}, | |
{ | |
"suit": "clubs", | |
"value": 3 | |
}, | |
{ | |
"suit": "clubs", | |
"value": 4 | |
}, | |
{ | |
"suit": "clubs", | |
"value": 5 | |
}, | |
{ | |
"suit": "clubs", | |
"value": 6 | |
}, | |
{ | |
"suit": "clubs", | |
"value": 7 | |
}, | |
{ | |
"suit": "clubs", | |
"value": 8 | |
}, | |
{ | |
"suit": "clubs", | |
"value": 9 | |
}, | |
{ | |
"suit": "clubs", | |
"value": 10 | |
}, | |
{ | |
"suit": "clubs", | |
"value": "J" | |
}, | |
{ | |
"suit": "clubs", | |
"value": "Q" | |
}, | |
{ | |
"suit": "clubs", | |
"value": "K" | |
}, | |
{ | |
"suit": "clubs", | |
"value": "A" | |
}, | |
{ | |
"suit": "spades", | |
"value": 2 | |
}, | |
{ | |
"suit": "spades", | |
"value": 3 | |
}, | |
{ | |
"suit": "spades", | |
"value": 4 | |
}, | |
{ | |
"suit": "spades", | |
"value": 5 | |
}, | |
{ | |
"suit": "spades", | |
"value": 6 | |
}, | |
{ | |
"suit": "spades", | |
"value": 7 | |
}, | |
{ | |
"suit": "spades", | |
"value": 8 | |
}, | |
{ | |
"suit": "spades", | |
"value": 9 | |
}, | |
{ | |
"suit": "spades", | |
"value": 10 | |
}, | |
{ | |
"suit": "spades", | |
"value": "J" | |
}, | |
{ | |
"suit": "spades", | |
"value": "Q" | |
}, | |
{ | |
"suit": "spades", | |
"value": "K" | |
}, | |
{ | |
"suit": "spades", | |
"value": "A" | |
} | |
] |
Thanks for Writing this
Thank you!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for the code <3