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

資源簡介

是對網上一款消消樂游戲的自動求解過程。 消消樂游戲http://www.5u3d.com/game/xxk/index.htm?1=0?f=&i=#noref

資源截圖

代碼片段和文件信息

using?System;
using?System.Collections.Generic;
using?System.ComponentModel;
using?System.Data;
using?System.Drawing;
using?System.Linq;
using?System.Text;
using?System.Threading.Tasks;
using?System.Windows.Forms;

namespace?BlockGame
{
????/*
????游戲介紹:
????在一個N*M的塊狀區域中,有C種顏色
????點擊聯通的同色方塊,至少是2個同色小塊聯通,小塊消失,
????每個小塊的分數=塊數
????直到不能消失為止,計算總分
????*/
????public?partial?class?Form1?:?Form
????{
????????View?view;
????????GameView?gv;
????????GameViewHepler?hepler;
????????public?Form1()
????????{
????????????InitializeComponent();
????????}

????????private?void?Form1_Load(object?sender?EventArgs?e)
????????{
????????????hepler?=?new?GameViewHepler();
????????}

????????private?void?button1_Click(object?sender?EventArgs?e)
????????{
????????????this.label7.Text?=?““;
????????????this.label8.Text?=?““;
????????????/*
????????????ViewManager?vm?=?new?ViewManager();
????????????vm.StartCheckView(view);
????????????this.label7.Text?=?vm.GetMaxScore().ToString();*/

????????????GameViewManager?manager?=?new?GameViewManager();
????????????manager.AddFirstGameView(gv);
????????????manager.Completed?=?new?Action(Show);
????????????manager.AddTask(“1“);
????????????manager.AddTask(“2“);
????????????manager.AddTask(“3“);
????????????manager.AddTask(“4“);
????????????manager.StartTask();
????????????//manager.CallAsync(“2“);
????????????//manager.CallAsync(“3“);
????????????//manager.CallAsync(“4“);
????????}
????
????????private?void?Show(int?maxlong?time)
????????{
????????????BeginInvoke(new?Action(()=>
????????????{
????????????????this.label7.Text?=?max.ToString();
????????????????this.label8.Text?=?time.ToString()?+?“毫秒“;
????????????}
????????????????)
????????????);
????????}
?

????????private?void?button2_Click(object?sender?EventArgs?e)
????????{
????????????this.panel1.Controls.Clear();
????????????
????????????int?x?=?Convert.ToInt16(this.textBox1.Text);
????????????int?y?=?Convert.ToInt16(this.textBox2.Text);
????????????int?c?=?Convert.ToInt16(this.textBox3.Text);
????????????
????????????gv?=?new?GameView()?{?Row?=?x?Col?=?y?Color?=?c?PreScore?=?0?StepScore=0?};
????????????gv.ViewData?=?new?int[gv.Row?gv.Col];
????????????
????????????string?str?=?““;
????????????//view.InitView(“1222323131311123“);

????????????this.panel1.Width?=?26?*?y+4;
????????????this.panel1.Height?=?26?*?x+4;

????????????for?(int?i=0;i????????????{
????????????????for(int?j=0;j????????????????{
????????????????????Bitmap?map?=?new?Bitmap(25?25);
????????????????????Graphics?g?=?Graphics.FromImage(map);
????????????????????Random?r?=?new?Random(Guid.NewGuid().GetHashCode());
????????????????????int?rc?=?r.Next(1?c?+?1);
????????????????????str?+=?rc.ToString()?+?““;
????????????????????Color?color;
????????????????????switch?(rc)
????????????????????{
????????????????????????case?1:color?=?Color.Red;
????????????????????

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

????..A..H.?????54272??2016-03-02?22:24??BlockGame\.vs\BlockGame\v14\.suo

?????文件????????189??2016-02-29?10:06??BlockGame\BlockGame\App.config

?????文件??????27136??2016-03-03?17:34??BlockGame\BlockGame\bin\Debug\BlockGame.exe

?????文件????????189??2016-02-29?10:06??BlockGame\BlockGame\bin\Debug\BlockGame.exe.config

?????文件??????67072??2016-03-03?17:34??BlockGame\BlockGame\bin\Debug\BlockGame.pdb

?????文件??????22696??2016-03-03?11:18??BlockGame\BlockGame\bin\Debug\BlockGame.vshost.exe

?????文件????????189??2016-02-29?10:06??BlockGame\BlockGame\bin\Debug\BlockGame.vshost.exe.config

?????文件????????490??2015-07-10?19:01??BlockGame\BlockGame\bin\Debug\BlockGame.vshost.exe.manifest

?????文件???????4123??2016-03-02?15:11??BlockGame\BlockGame\BlockGame.csproj

?????文件???????4982??2016-03-03?17:29??BlockGame\BlockGame\Form1.cs

?????文件???????8831??2016-03-03?13:12??BlockGame\BlockGame\Form1.Designer.cs

?????文件???????5817??2016-03-03?13:12??BlockGame\BlockGame\Form1.resx

?????文件???????1579??2016-03-02?10:44??BlockGame\BlockGame\GameView.cs

?????文件???????9910??2016-03-02?21:47??BlockGame\BlockGame\GameViewHepler.cs

?????文件???????6997??2016-03-03?13:16??BlockGame\BlockGame\GameViewManager.cs

?????文件????????681??2016-03-03?17:34??BlockGame\BlockGame\obj\Debug\BlockGame.csproj.FileListAbsolute.txt

?????文件???????1013??2016-03-03?17:34??BlockGame\BlockGame\obj\Debug\BlockGame.csproj.GenerateResource.Cache

?????文件???????2384??2016-03-03?17:34??BlockGame\BlockGame\obj\Debug\BlockGame.csprojResolveAssemblyReference.cache

?????文件??????27136??2016-03-03?17:34??BlockGame\BlockGame\obj\Debug\BlockGame.exe

?????文件????????180??2016-03-03?17:34??BlockGame\BlockGame\obj\Debug\BlockGame.Form1.resources

?????文件??????67072??2016-03-03?17:34??BlockGame\BlockGame\obj\Debug\BlockGame.pdb

?????文件????????180??2016-03-03?17:34??BlockGame\BlockGame\obj\Debug\BlockGame.Properties.Resources.resources

?????文件???????1464??2016-02-29?21:25??BlockGame\BlockGame\obj\Debug\DesignTimeResolveAssemblyReferences.cache

?????文件???????7152??2016-03-02?10:42??BlockGame\BlockGame\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache

?????文件??????????0??2016-02-29?10:06??BlockGame\BlockGame\obj\Debug\TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs

?????文件??????????0??2016-02-29?10:06??BlockGame\BlockGame\obj\Debug\TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs

?????文件??????????0??2016-02-29?10:06??BlockGame\BlockGame\obj\Debug\TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs

?????文件????????521??2016-02-29?10:06??BlockGame\BlockGame\Program.cs

?????文件???????1326??2016-02-29?10:06??BlockGame\BlockGame\Properties\AssemblyInfo.cs

?????文件???????2831??2016-02-29?10:06??BlockGame\BlockGame\Properties\Resources.Designer.cs

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

評論

共有 條評論