Commit 781db860 authored by Chingiz's avatar Chingiz 💻

Class card has been created

parent c38e1410
export class Card {
private _rank: string;
private _suite: string;
constructor(rank: string, suit: string) {
this._rank = rank;
this._suite = suit;
}
show(){
return(` _____\n| ${this._rank} ${this._suite} |\n -----`)
}
}
\ No newline at end of file
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