Poker game (ASCII)

This is more of a framework for writing Poker games than a commercially viable game in itself. It defines a generic poker engine for dealing and evaluating Poker hands of any size, then provides two demonstration games using this engine - one for Five-card Draw and another for Five-card Stud. It was written in WinPython 3.4 and has been tested in QPython3 too.

There's no graphical interface: cards and play are displayed using ASCII characters on the scrolling text terminal. Just run drawerpoker.py or studpoker.py to see. Adding a Python graphics package like Kivvy should allow you to fairly easily modify cards.py and poker.py to output in graphical format as all the game logic is done for you, and it plays reasonably good Poker. Extending to seven-card games and hold 'em style games should also be fairly easy using drawpoker and studpoker as examples.