Skip to content

Instantly share code, notes, and snippets.

@LevShab
Last active August 29, 2015 14:18
Show Gist options
  • Save LevShab/d78c2eabb02fdd299b76 to your computer and use it in GitHub Desktop.
Save LevShab/d78c2eabb02fdd299b76 to your computer and use it in GitHub Desktop.
Заготовочка
string grapcard = "";
int card = random.Next(1, 13);
int clcard = random.Next(1, 4);
string[] cards = new string[] { "2 ", "3 " , ...};
string[] clcards = new string[] {"♥", ..};
grapcard = cards[card] + clcards[clcard];
string[] card = new string[15];
card[0] = " ________________ ";
card[1] = String.Format("| {0} |", grapcard);
for (int i = 2; i < 12; i++)
{
card[i] = "| |";
}
for (int i = 0; i < card.Length; i++)
{
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment