I'm trying to learn rust and tried to put together a small poker based game that runs on ubuntu terminal. The compiler has been very helpful so I got the code to run. It can detect flush, straight, full house, two of a kind, three of a kind, four of a kind and two pairs. I would appreciate it if anyone could help me improve it and also help me out with best practices.
Code available at Sole Poker Git Link
Edited code changing cl to clear. Caused error in other system.
Dockerfile along with executable available at https://github.com/bejohn/pokerdocker.git
After creating docker image, run /home/rust/game/solo_poker