Skip to content

Instantly share code, notes, and snippets.

Avatar

Joe Mora crushedhat

View GitHub Profile
View bs.cpp
/* Joseph Mora
CS65
18Mar18*/
#include <stdio.h>
#include <iostream>
#include <iomanip>
using namespace std;
//void has no expectation of a return value
View Main.py
#!/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 =============================="
View Main.py
#!/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 =============================="
@crushedhat
crushedhat / main.py
Created Jan 14, 2018
Working with sprite sheet
View main.py
#!/usr/bin/python
import pygame as pg
import random
from settings import *
from sprites import *
from os import path
class Game:
View Main.py
#!/usr/bin/python
import gameClass
import time
while True:
newDeal = False
gameClass.mainMenu()
deck = gameClass.Deck()
player = gameClass.Player()