Commit c38e1410 authored by Chingiz's avatar Chingiz 💻

Index.ts has been created

parent afe60bfe
import {Deck} from "./Modules/Deck";
import {Card} from "./Modules/Card";
const deck = new Deck();
deck.shuffleDeck();
let card: Card | undefined;
card = deck.takeACard()
console.log(card ? card.show() : card)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment