Description: Landlords source code is absolutely through the source code, executable file
Landlords the cards according to the rules. For players to test out the cards. To determine whether the cards rules.
(Landlords of the cards on the Internet there are many rules)
Ideas: the player s cards in ascending order and then split the cards, there are four sub-array. Splitting rules are as follows:
Suppose card: 333 \ 444 \ 555 \ 789
After the array is split as follows
arr [0]: 345789
arr [1]: 345
arr [2]: 345
arr [3]: null
It can be seen splitting rule is: If you encounter the same number of cards is saved to the end of the next array.
After splitting the array according to the storage of the cards to determine the type of player, the above example, arr [3] is empty can be ruled out with 4
1 (2) bomb case according to arr [2] for the straight and the number is greater than 1 and arr [2] in the number of cards stored is exactly equal to 3 times
arr [0] the number of sheets+
To Search:
File list (Check if you may need any files):
doudizhu\bin\Debug\AxInterop.ShockwaveFlashObjects.dll
........\...\.....\AxInterop.WMPLib.dll
........\...\.....\Interop.FlashAccessibility.dll
........\...\.....\Interop.ShockwaveFlashObjects.dll
........\...\.....\Interop.WMPLib.dll
........\...\.....\IrisSkin2.dll
........\...\.....\Longhorn.ssk
........\...\.....\mf_001.swf
........\...\.....\QQ-Boy\Thumbs.db
........\...\.....\......\做事.gif
........\...\.....\......\喝酒.gif
........\...\.....\......\嘻哈.gif
........\...\.....\......\大侠.gif
........\...\.....\......\奔跑.gif
........\...\.....\......\学习.gif
........\...\.....\......\想你.gif
........\...\.....\......\放电.gif
........\...\.....\......\漫步.gif
........\...\.....\......\甜蜜.gif
........\...\.....\......\男.gif
........\...\.....\......\睡觉.gif
........\...\.....\......\瞌睡.gif
........\...\.....\......\笑.gif
........\...\.....\......\跑.gif
........\...\.....\......\运动.gif
........\...\.....\......\逗.gif
........\...\.....\......\钓鱼.gif
........\...\.....\...Girl\Thumbs.db
........\...\.....\.......\唱.gif
........\...\.....\.......\喝水.gif
........\...\.....\.......\嘻哈.gif
........\...\.....\.......\女.gif
........\...\.....\.......\学习.gif
........\...\.....\.......\溜.gif
........\...\.....\Working.ani
........\...\.....\冰.ani
........\...\.....\斗地主.application
........\...\.....\斗地主.duo
........\...\.....\斗地主.exe
........\...\.....\斗地主.exe.manifest
........\...\.....\斗地主.pdb
........\...\.....\斗地主.vshost.application
........\...\.....\斗地主.vshost.exe
........\...\.....\斗地主.vshost.exe.manifest
........\C#斗地主算法.doc
........\Chupai.cs
........\ComputerChuPai.cs
........\DdzMian.cs
........\DdzMian.Designer.cs
........\DdzMian.resx
........\Form1.cs
........\Form1.Designer.cs
........\Form1.resx
........\Form2.cs
........\Form2.Designer.cs
........\Form2.resx
........\Form3.cs
........\Form3.Designer.cs
........\Form3.resx
........\GameOver.cs
........\GameOver.Designer.cs
........\GameOver.resx
........\Jiepai.cs
........\JueSe.cs
........\KaiJu.cs
........\obj\Debug\AxInterop.ShockwaveFlashObjects.dll
........\...\.....\AxInterop.WMPLib.dll
........\...\.....\Interop.FlashAccessibility.dll
........\...\.....\Interop.MediaPlayer.dll
........\...\.....\Interop.ShockwaveFlashObjects.dll
........\...\.....\Interop.WMPLib.dll
........\...\.....\TempPE\Properties.Resources.Designer.cs.dll
........\...\.....\斗地主.application
........\...\.....\斗地主.csproj.GenerateResource.Cache
........\...\.....\斗地主.csproj.ResolveComReference.cache
........\...\.....\斗地主.DdzMian.resources
........\...\.....\斗地主.exe
........\...\.....\斗地主.exe.manifest
........\...\.....\斗地主.Form2.resources
........\...\.....\斗地主.Form3.resources
........\...\.....\斗地主.GameOver.resources
........\...\.....\斗地主.pdb
........\...\.....\斗地主.Properties.Resources.resources
........\...\.....\斗地主.Resources.背面.jpg
........\...\.....\斗地主.YiChuPai.resources
........\...\斗地主.csproj.FileList.txt
........\...\斗地主.csproj.FileListAbsolute.txt
........\Player.cs
........\Program.cs
........\...perties\AssemblyInfo.cs
........\..........\Resources.Designer.cs
........\..........\Resources.resx
........\..........\Settings.Designer.cs
........\..........\Settings.settings
........\Puke.cs
........\Resources\(^o^) (81).jpg
........\.........\b55d72f72e7b832c720eecd3.jpg
........\.........\pukeImage1\1.jpg
........\.........\..........\10.jpg
........\.........\..........\11.jpg