[R] card games
erinm.hodgess at gmail.com
Thu Oct 23 00:36:10 CEST 2008
This is for programming purposes.
I wanted my students to do some games, but I wanted to see if there
were items already out there.
On Wed, Oct 22, 2008 at 10:39 AM, Greg Snow <Greg.Snow at imail.org> wrote:
> Why do you want this? To play during a break? Or to demonstrate probabilities? Or to simulate games using different strategies?
> There are some functions with names like card.game in the kappalab package, but they don't look like they do the type of card game you play. If you just want to play something during a break and do not need it to be a card game, then there is the sudoku package. I don't know of any other packages currently out there.
> Otherwise, some more detail of what you want could be helpful. Blackjack would not be too hard to program (computer/dealer has a fixed strategy), but poker could be more difficult if you want the computer to have a realistic strategy (not as hard if all players are human, but keeping the cards private becomes more difficult then).
> Gregory (Greg) L. Snow Ph.D.
> Statistical Data Center
> Intermountain Healthcare
> greg.snow at imail.org
>> -----Original Message-----
>> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-
>> project.org] On Behalf Of Erin Hodgess
>> Sent: Tuesday, October 21, 2008 10:10 PM
>> To: r-help at stat.math.ethz.ch
>> Subject: [R] card games
>> Dear R People:
>> Are there any packages to play card games, please? In particular,
>> poker or black jack?
>> Erin Hodgess
>> Associate Professor
>> Department of Computer and Mathematical Sciences
>> University of Houston - Downtown
>> mailto: erinm.hodgess at gmail.com
>> R-help at r-project.org mailing list
>> PLEASE do read the posting guide http://www.R-project.org/posting-
>> and provide commented, minimal, self-contained, reproducible code.
Department of Computer and Mathematical Sciences
University of Houston - Downtown
mailto: erinm.hodgess at gmail.com
More information about the R-help