Top-rated recipes tagged "cards" but not "deck" Code RecipesUno (Text-Based) (Python) 2017-07-15T00:46:59-07:00Brandon Martin <p style="color: grey"> Python recipe 580811 by <a href="/recipes/users/4194238/">Brandon Martin</a> (<a href="/recipes/tags/artificial_intelligence/">artificial_intelligence</a>, <a href="/recipes/tags/cards/">cards</a>, <a href="/recipes/tags/game/">game</a>, <a href="/recipes/tags/text_game/">text_game</a>, <a href="/recipes/tags/uno/">uno</a>). </p> <p>A text based recreation of the classic card game featuring functional AIs to play with. Some rules have been modified. User interface is text based, non-curses, using only simple python commands to draw it. </p> Simulate number of flushes in a poker hand (Python) 2010-04-08T05:24:12-07:00Dudley G R Gentles <p style="color: grey"> Python recipe 577184 by <a href="/recipes/users/4173603/">Dudley G R Gentles</a> (<a href="/recipes/tags/cards/">cards</a>, <a href="/recipes/tags/flush/">flush</a>, <a href="/recipes/tags/poker/">poker</a>, <a href="/recipes/tags/process/">process</a>, <a href="/recipes/tags/time/">time</a>). </p> <p>This program calculates the number of flushes in a number of deals of a poker hand. You can tell it to deal say 10,000 hands and see how many were flushes. This is basically my first Python program. </p>