Skip to content

Instantly share code, notes, and snippets.

View ZacharyDinerstein's full-sized avatar

Zachary Dinerstein ZacharyDinerstein

View GitHub Profile
@ZacharyDinerstein
ZacharyDinerstein / Poker Playing Program (Still in development...)
Created April 17, 2013 02:08
Poker Playing Program (Still in development...)
<html>
<head>
<title>Shuffle</title>
<script>
//BUILD DECK
var suit = ["Hearts", "Spades", "Clubs", "Diamonds"]; // Create the suit array
var face = ["Ace", "1", "2", "3", "4", "5", "6", "7", // Creat face array
"8", "9", "10", "Jack", "Queen", "King"];
//GENERATE RANDOM VALUES FOR 5 DIFFERENT CARDS