var deck = {
allCards: ["ch-6", "ch-7", "ch-8", "ch-9", "ch-10", "ch-v", "ch-d", "ch-k", "ch-t"]
};
var player1 = {
index: 6,
player1Cards: function() {
for(var i = 0; i < 6; i++) {
function(min, max) {
var rand = Math.round(Math.random() * (max-min) + min);
console.log(rand);
var cutCard = deck.allCards.splice(rand, 1);
console.log(cutCard);
}
}
}
};