Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
gtheler 03312f7fbb players 5 år sedan
..
00-internal players 5 år sedan
02-always-stand players 5 år sedan
05-no-bust players 5 år sedan
08-mimic-the-dealer players 5 år sedan
README.md players 5 år sedan

README.md


title: Example players for LibreBlackjack …

Example players for LibreBlackjack

The subdirectory players contains some automatic players that play against LibreBlackjack. These players are coded in different languages and communicate with LibreBlackjack in a variety of ways in order to illustrate the design basis:

  • 00-internal uses the internal player that defaults to playing one million hands of basic strategy
  • 02-always-stand, using the UNIX tool yes this player always says “stand” into the standard output (which is piped to libreblackjack’s standard input) no matter what the cards are
  • 05-no-bust is a PERL-based player does not bust (i.e. hits if the hard total is less than twelve) that receives tha cards through the standard input but draws or stands using a FIFO to talk back to the dealer
  • 08-mimic-the-dealer does tha same the dealer do (hits soft seventeens). It is implemented in AWK using two FIFOs.
  • 20-basic-strategy derives the basic strategy from scratch in less than one minute.