This is a horse-racing card game that I was obsessed with as a child. You can find the official rules here It's written in pure 100% vanilla JS (with some SASS, i don't think that's cheating) The un-compiled code can be found here: GitHub Horse Game. I think some of the card-deck code could be relatively usefull in any other card game. Like deck-shuffling, odds making and other stuff.
Gimme a holla at firstname.lastname@example.org game