91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 2.3MB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發布日期: 2024-02-04
  • 語言: C#
  • 標簽: c#??

資源簡介

c# 棋牌游戲源碼,c# 棋牌游戲源碼c# 棋牌游戲源碼

資源截圖

代碼片段和文件信息

using?System;
using?System.Collections.Generic;
using?System.Text;

namespace?Licensing
{
????public?class?newLicensing
????{
????????#region?初始化變量
????????private?int[]?newPoker;?//產生新的撲克
????????public?int[]?newLicensingA;?//產生A撲克數組
????????public?int[]?newLicensingB;?//產生B撲克數組
????????public?int[]?newLicensingC;?//產生C撲克數組
????????public?int[]?newLicensingD;?//產生D撲克數組
????????#endregion

????????public?newLicensing()
????????{
????????????#region?生成新撲克

????????????newPoker?=?new?int[52];??//創建存儲撲克數組
????????????for?(int?j?=?1;?j?????????????{
????????????????switch?(j)
????????????????{
????????????????????case?1:??//創建方塊
????????????????????????for?(int?i?=?0;?i?????????????????????????{
????????????????????????????newPoker[i]?=?101?+?i;
????????????????????????}
????????????????????????break;
????????????????????case?2:??//創建紅心
????????????????????????for?(int?i?=?0;?i?????????????????????????{
????????????????????????????newPoker[i?+?13]?=?201?+?i;
????????????????????????}
????????????????????????break;
????????????????????case?3:??//創建梅花
????????????????????????for?(int?i?=?0;?i?????????????????????????{
????????????????????????????newPoker[i?+?26]?=?301?+?i;
????????????????????????}
????????????????????????break;
????????????????????case?4:??//創建黑桃
????????????????????????for?(int?i?=?0;?i????????????????????????{
????????????????????????????newPoker[i?+?39]?=?401?+?i;
????????????????????????}
????????????????????????break;
????????????????}
????????????}

????????????#endregion

????????????#region?洗牌

????????????int?k?temp;

????????????//洗牌程序
????????????Random?Reshuffle?=?new?Random();

????????????for?(int?x?=?0;?x?????????????{
????????????????k?=?Reshuffle.Next(0?newPoker.Length?-?1);
????????????????temp?=?newPoker[k];

????????????????for?(int?i?=?k;?i?????????????????{
????????????????????newPoker[i]?=?newPoker[i?+?1];
????????????????}
????????????????newPoker[newPoker.Length?-?1]?=?temp;
????????????}


????????????#endregion

????????????#region?發牌

????????????newLicensingA?=?new?int[13];
????????????newLicensingB?=?new?int[13];
????????????newLicensingC?=?new?int[13];
????????????newLicensingD?=?new?int[13];

????????????for?(int?t?=?0;?t?<=?12;?t++)
????????????{
????????????????newLicensingA[t]?=?newPoker[t];
????????????????newLicensingB[t]?=?newPoker[t?+?13];
????????????????newLicensingC[t]?=?newPoker[t?+?26];
????????????????newLicensingD[t]?=?newPoker[t?+?39];
????????????}

????????????#endregion

????????????#region?排序
????????????//for?(int?i?=?0;?i?????????????//{
????????????//????for?(int?j?=?newLicensingA.Length?-?1;?j?>?i;?j--)
????????????//????{
????????????//????????//對第一組進行排序
????????????//????????if?(newLicensingA[j]?????????????//????????{

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件?????389120??2008-09-07?18:55??棋牌游戲\ads\Licensing\bin\Debug\Licensing.exe

?????文件??????36352??2008-09-07?18:55??棋牌游戲\ads\Licensing\bin\Debug\Licensing.pdb

?????文件???????5632??2005-12-08?14:51??棋牌游戲\ads\Licensing\bin\Debug\Licensing.vshost.exe

?????文件???????9056??2007-12-11?13:59??棋牌游戲\ads\Licensing\bin\Debug\Poker\101.png

?????文件???????9607??2007-12-11?14:33??棋牌游戲\ads\Licensing\bin\Debug\Poker\102.png

?????文件???????9260??2007-12-11?14:33??棋牌游戲\ads\Licensing\bin\Debug\Poker\103.png

?????文件???????9004??2007-12-11?14:33??棋牌游戲\ads\Licensing\bin\Debug\Poker\104.png

?????文件???????9169??2007-12-11?14:33??棋牌游戲\ads\Licensing\bin\Debug\Poker\105.png

?????文件???????9386??2007-12-11?14:32??棋牌游戲\ads\Licensing\bin\Debug\Poker\106.png

?????文件???????8918??2007-12-11?14:32??棋牌游戲\ads\Licensing\bin\Debug\Poker\107.png

?????文件???????9235??2007-12-11?14:32??棋牌游戲\ads\Licensing\bin\Debug\Poker\108.png

?????文件???????9568??2007-12-11?14:32??棋牌游戲\ads\Licensing\bin\Debug\Poker\109.png

?????文件???????9416??2007-12-11?14:32??棋牌游戲\ads\Licensing\bin\Debug\Poker\110.png

?????文件???????9050??2007-12-11?14:32??棋牌游戲\ads\Licensing\bin\Debug\Poker\111.png

?????文件???????9238??2007-12-11?14:32??棋牌游戲\ads\Licensing\bin\Debug\Poker\112.png

?????文件???????9193??2007-12-11?14:31??棋牌游戲\ads\Licensing\bin\Debug\Poker\113.png

?????文件???????9158??2007-12-11?14:31??棋牌游戲\ads\Licensing\bin\Debug\Poker\201.png

?????文件???????9684??2007-12-11?14:31??棋牌游戲\ads\Licensing\bin\Debug\Poker\202.png

?????文件???????9340??2007-12-11?14:31??棋牌游戲\ads\Licensing\bin\Debug\Poker\203.png

?????文件???????9093??2007-12-11?14:31??棋牌游戲\ads\Licensing\bin\Debug\Poker\204.png

?????文件???????9242??2007-12-11?14:31??棋牌游戲\ads\Licensing\bin\Debug\Poker\205.png

?????文件???????9469??2007-12-11?14:31??棋牌游戲\ads\Licensing\bin\Debug\Poker\206.png

?????文件???????9014??2007-12-11?14:30??棋牌游戲\ads\Licensing\bin\Debug\Poker\207.png

?????文件???????9309??2007-12-11?14:30??棋牌游戲\ads\Licensing\bin\Debug\Poker\208.png

?????文件???????9629??2007-12-11?14:30??棋牌游戲\ads\Licensing\bin\Debug\Poker\209.png

?????文件???????9492??2007-12-11?14:30??棋牌游戲\ads\Licensing\bin\Debug\Poker\210.png

?????文件???????9162??2007-12-11?14:30??棋牌游戲\ads\Licensing\bin\Debug\Poker\211.png

?????文件???????9325??2007-12-11?14:30??棋牌游戲\ads\Licensing\bin\Debug\Poker\212.png

?????文件???????9294??2007-12-11?14:30??棋牌游戲\ads\Licensing\bin\Debug\Poker\213.png

?????文件???????9115??2007-12-11?14:29??棋牌游戲\ads\Licensing\bin\Debug\Poker\301.png

............此處省略69個文件信息

評論

共有 條評論