This is a video poker app with React.js.
A 52 card deck is created. The Fisher-Yates algorithm is used to shuffle the deck. The first 5 cards are dealt into a hand. The player uses the "Discard" buttons to select which, if any, cards are kept. That many new cards are drawn. The hand is compared to the pay table. The result is shown to the user.
Playing card images from: https://github.com/hayeah/playing-cards-assets
See it on GitPages: https://vibraniumforge.github.io/video-poker/