Skip to content

Instantly share code, notes, and snippets.

View Jasmeet107's full-sized avatar
🐙

Jasmeet Arora Jasmeet107

🐙
View GitHub Profile
@Jasmeet107
Jasmeet107 / card_game.py
Last active December 16, 2015 02:16
9.66 Project
import numpy as np
import scipy as sp
from scipy import misc
from scipy import stats
from scipy import special
import random
import matplotlib.pyplot as plt
#The card set consists of one of each value card. Ace is given the value 11, but will be changed to 1 if/when it benefits the player.
card_set = {'a':11, '2':2, '3':3, '4':4, '5':5, '6':6, '7':7, '8':8, '9':9, '10':10, 'j':10, 'q':10, 'k':10}