Skip to content

Instantly share code, notes, and snippets.

@petrosDemetrakopoulos
Created September 24, 2022 08:51
Show Gist options
  • Save petrosDemetrakopoulos/b7a76146a98e63212a13f1fd050e6058 to your computer and use it in GitHub Desktop.
Save petrosDemetrakopoulos/b7a76146a98e63212a13f1fd050e6058 to your computer and use it in GitHub Desktop.
TexasHoldem Monte Carlo simulation Imports and Cards Initialization
from phevaluator import evaluate_cards
import random
suits = ['d','s','c','h']
ranks = ['A','2','3','4','5','6','7','8','9','T','J','Q','K']
cards = []
for r in ranks:
for s in suits:
cards.append(r+s)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment