Here is a clever card shuffler controlled by a Raspberry Pi that can rig the deck, so you end up with the winning hand every time. It has been built with 3x Nema 17 stepper motors, Pi camera, Adafruit Feather, and other simple parts. The Python code for it is available on GitHub.
By taking on a project like this, you will be able to take your coding game to the next level. The above video from 3DprintedLife shows this card shuffler in action.