Skip to content

Instantly share code, notes, and snippets.

View crushedhat's full-sized avatar

Joe Mora crushedhat

View GitHub Profile
#!/usr/bin/python
import gameClass
import time
while True:
newDeal = False
gameClass.mainMenu()
deck = gameClass.Deck()
player = gameClass.Player()
@crushedhat
crushedhat / main.py
Created January 14, 2018 21:16
Working with sprite sheet
#!/usr/bin/python
import pygame as pg
import random
from settings import *
from sprites import *
from os import path
class Game:
#!/usr/bin/python
import gameClass
import time
def mainMenu():
clearScreen()
print " Welcome to the Blackjack table! Please select an option below"
print " ========================================================================="
print " ==============================(1) New Game =============================="
print " ==============================(2) Exit =============================="
#!/usr/bin/python
import gameClass
import time
def mainMenu():
clearScreen()
print " Welcome to the Blackjack table! Please select an option below"
print " ========================================================================="
print " ==============================(1) New Game =============================="
print " ==============================(2) Exit =============================="
/* Joseph Mora
CS65
18Mar18*/
#include <stdio.h>
#include <iostream>
#include <iomanip>
using namespace std;
//void has no expectation of a return value