by Matt Rigby (wyrdR)
𝙉𝙤𝙣-𝙋𝙧𝙚𝙢𝙞𝙪𝙢 [24 Blocks]
Example of handling of 52 Playing Cards. Not really a game (yet). Demonstrates use of dictionaries & arrays for lookup tables. I hope it can one day be used the template for a card-based game.😉
♣ Supports 1 to 6 "players".
♠ Draws shuffled cards without repetition, orders them by group then individual value.
♥ Displays player results sorted from first to last, along with a description for the type of hand they "played".
♦ Please Feel free to re-use parts/methods from this flow; let me know if you do (maybe throw a link back to here in your description).
♠ Hit any player results to replay
♥ Hit Reset to change number of players
♦ Hit Quit or Cancel to exit
♣ Reduced Blocks even more: 30 → 28 → 24
💬 Please rate; Bug reports and constructive criticism welcome!
Reviews and ratings can be submitted in the app.