Skip to content

Instantly share code, notes, and snippets.

@todorok1
Created June 26, 2018 05:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save todorok1/87ca8544bae2d584a1880da31cb0e022 to your computer and use it in GitHub Desktop.
Save todorok1/87ca8544bae2d584a1880da31cb0e022 to your computer and use it in GitHub Desktop.
カードをランダムにシャッフルするサンプル
// 各マーク(スート)のIDを決める
const int Spade = 0;
const int Club = 1;
const int Heart = 2;
const int Diamond = 3;
List<int> suits = new List<int>(){Spade, Club, Heart, Diamond};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment