Created
June 26, 2018 05:07
-
-
Save todorok1/87ca8544bae2d584a1880da31cb0e022 to your computer and use it in GitHub Desktop.
カードをランダムにシャッフルするサンプル
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 各マーク(スート)の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