Skip to content

Instantly share code, notes, and snippets.

@LevShab
Created April 4, 2015 15:13
Show Gist options
  • Save LevShab/2cea34db157370bc279b to your computer and use it in GitHub Desktop.
Save LevShab/2cea34db157370bc279b 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];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment