This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Joseph Mora | |
CS65 | |
18Mar18*/ | |
#include <stdio.h> | |
#include <iostream> | |
#include <iomanip> | |
using namespace std; | |
//void has no expectation of a return value |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 ==============================" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 ==============================" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import pygame as pg | |
import random | |
from settings import * | |
from sprites import * | |
from os import path | |
class Game: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import gameClass | |
import time | |
while True: | |
newDeal = False | |
gameClass.mainMenu() | |
deck = gameClass.Deck() | |
player = gameClass.Player() |