You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

пре 5 година
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. ---
  2. title: Internal player
  3. ...
  4. # Internal player
  5. > Difficulty: 00/100
  6. If `blackjack` is called with the `-i` option, it uses an _internal_ player to play against itself. By default it plays basic strategy. Run
  7. ```terminal
  8. blackjack -i
  9. ```
  10. and you will get the following report with the results of playing one million hands with basic strategy.
  11. ```yaml
  12. ---
  13. rules:
  14. decks: 6
  15. hands: 1e+06
  16. hit_soft_17: 1
  17. double_after_split: 1
  18. blackjack_pays: 1.5
  19. rng_seed: -421186149
  20. number_of_burnt_cards: 0
  21. no_negative_bankroll: 0
  22. max_bet: 0
  23. penetration: 0.75
  24. penetration_sigma: 0.05
  25. cpu:
  26. user: 1.88959
  27. system: 0.32027
  28. wall: 2.20904
  29. second_per_hand: 2.2e-06
  30. hands_per_second: 4.5e+05
  31. player:
  32. wins: 0.445075
  33. pushes: 0.087039
  34. losses: 0.492821
  35. dealer_blackjacks: 0.047582
  36. player_blackjacks: 0.047375
  37. dealer_busts: 0.23537
  38. player_busts: 0.160637
  39. doubled_hands: 0.107207
  40. doubled_wins: 0.0613
  41. insured_hands: 0
  42. insured_wins: 0
  43. number_of_hands: 1e+06
  44. number_of_shuffles: 23215
  45. total_money_waged: 1.23935e+06
  46. worst_bankroll: -7212.5
  47. final_bankroll: -7111
  48. return: -0.007111
  49. variance: 1.32892
  50. deviation: 1.15279
  51. error: 0.00115279
  52. result: "(-0.7 ± 0.2) %"
  53. ...
  54. ```
  55. -------
  56. :::{.text-center}
  57. [Previous](../) | [Index](../) | [Next](../02-always-stand)
  58. :::