Skip to content

Instantly share code, notes, and snippets.

View pcv2's full-sized avatar

Philip van der Made pcv2

  • Scuttlehub
  • New York, NY
View GitHub Profile
@pcv2
pcv2 / blackjack.js
Created January 23, 2012 03:42
Simple Single Round Blackjack Game
// defines Card object
function Card(num, suit) {
this.num = num;
this.suit = suit;
}
// defines Deck object
function Deck() {
this.cards = new Array(52);
//this.next_card = 0;