crobertsbmw/deckofcards
View on GitHub ↗ ★ 1,425 JavaScript
An API to simulate a deck of cards
9 mentions on Hacker News by 9 people: 0 stories, 9 comments · first 2015-04-30 · latest 2015-05-11
20082026
-
…-courtney@feralfew.com -ben@homesforhackers.com -info@cyberjammer.net -info@SponsorShout.com https://github.com/crobertsbmw/deckofcards/commit/2b5675df52...
comment by leovander · 2015-05-11 · in Show HN: Deck of Cards – A playing card API -
Looks like deck_id references a persisted model: https://github.com/crobertsbmw/deckofcards/blob/master/deck/... The model stores the state of the deck, including things like order and remaining cards and how many "decks" of 52 cards are…
comment by kornish · 2015-05-11 · in Show HN: Deck of Cards – A playing card API -
Also unfortunate : https://github.com/crobertsbmw/deckofcards/blob/fb02c09b9bc4...
comment by ctekin · 2015-05-11 · in Show HN: Deck of Cards – A playing card API -
https://github.com/crobertsbmw/deckofcards/pull/3
comment by ChristianBundy · 2015-05-11 · in Show HN: Deck of Cards – A playing card API -
…module, so not very secure if that's what you're after but it's probably correctly pseudorandom: https://github.com/crobertsbmw/deckofcards/blob/master/deck/...
comment by sirclueless · 2015-05-11 · in Show HN: Deck of Cards – A playing card API -
I'm not sure what this file does: https://github.com/crobertsbmw/deckofcards/blob/master/list....
comment by flashman · 2015-05-11 · in Show HN: Deck of Cards – A playing card API -
https://github.com/crobertsbmw/deckofcards/blob/master/deck/...
comment by Walkman · 2015-05-11 · in Show HN: Deck of Cards – A playing card API -
Ha, nice. Your choice of images is...interesting :) https://github.com/crobertsbmw/deckofcards/blob/master/stati...
comment by javajosh · 2015-05-11 · in Show HN: Deck of Cards – A playing card API -
FYI You probably don't want upload your secret keys in plaintext to GitHub: https://github.com/crobertsbmw/deckofcards/blob/687881c8408a...
comment by Kortaggio · 2015-04-30 · in Show HN: Deck of Cards – A playing card API