parent
442f8ef977
commit
cd626cbc38
@ -0,0 +1,19 @@
|
|||||||
|
class Deck{
|
||||||
|
constructor(){
|
||||||
|
this.outputCards=this.createDeck();
|
||||||
|
this.setMade=[];
|
||||||
|
this.allCards=this.createCards();
|
||||||
|
this.remainingCards=this.allCards;
|
||||||
|
}
|
||||||
|
createDeck(){
|
||||||
|
for (let i=0; i<12; i++){
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
getRandCard(){
|
||||||
|
Math.floor(Math.random() * remainingCards.length);
|
||||||
|
}
|
||||||
|
createCards(){
|
||||||
|
return 456;
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in new issue