資源簡(jiǎn)介
為了復(fù)習(xí)C#知識(shí),用了3天時(shí)間去編寫(xiě)了2048小游戲,基本上完成了游戲的功能!各路大神,不喜勿噴啊。謝謝!
代碼片段和文件信息
using?System;
using?System.Collections.Generic;
using?System.Linq;
using?System.Text;
namespace?_2048
{
????class?CellsLocation
????{
????????private?int?x;//格子的橫坐標(biāo)
????????private?int?y;//格子的縱坐標(biāo)
????????public?int?X
????????{
????????????get?{?return?x;?}
????????????set?{?x?=?value;?}
????????}
????????public?int?Y
????????{
????????????get?{?return?y;?}
????????????set?{?y?=?value;?}
????????}
????????public?CellsLocation()
????????{
????????}
????????public?CellsLocation(int?xint?y)
????????{
????????????this.X?=?x;
????????????this.Y?=?y;
????????}
????}
}
?屬性????????????大小?????日期????時(shí)間???名稱(chēng)
-----------?---------??----------?-----??----
?????文件?????????854??2014-08-06?17:20??2048小游戲\2048.sln
?????文件???????29184??2014-08-18?16:35??2048小游戲\2048.suo
?????文件???????36864??2014-08-17?00:51??2048小游戲\2048.v12.suo
?????目錄???????????0??2014-08-18?22:03??2048小游戲\2048\
?????文件????????7289??2014-08-18?15:37??2048小游戲\2048\2048.csproj
?????文件?????????478??2014-08-14?22:33??2048小游戲\2048\2048.csproj.user
?????文件???????67646??2014-08-14?22:31??2048小游戲\2048\2048.ico
?????目錄???????????0??2014-08-06?21:48??2048小游戲\2048\bin\
?????目錄???????????0??2014-08-18?22:53??2048小游戲\2048\bin\Debug\
?????文件??????248320??2014-08-18?16:34??2048小游戲\2048\bin\Debug\2048.exe
?????文件???????71168??2014-08-18?16:34??2048小游戲\2048\bin\Debug\2048.pdb
?????文件????????3584??2014-08-13?22:24??2048小游戲\2048\bin\Debug\2048.v12.suo
?????文件???????11600??2014-08-18?16:27??2048小游戲\2048\bin\Debug\2048.vshost.exe
?????文件?????????490??2010-03-17?22:39??2048小游戲\2048\bin\Debug\2048.vshost.exe.manifest
?????文件????????2509??2014-08-17?23:19??2048小游戲\2048\bin\Debug\下載說(shuō)明.txt
?????目錄???????????0??2014-08-06?19:46??2048小游戲\2048\bin\Release\
?????文件?????????636??2014-08-08?19:02??2048小游戲\2048\CellsLocation.cs
?????文件?????????224??2014-08-13?19:35??2048小游戲\2048\DB.cs
?????文件???????31244??2014-08-18?16:24??2048小游戲\2048\Fmain.cs
?????文件???????13578??2014-08-18?16:24??2048小游戲\2048\Fmain.Designer.cs
?????文件??????107785??2014-08-18?16:24??2048小游戲\2048\Fmain.resx
?????文件?????????939??2014-08-18?15:35??2048小游戲\2048\FMessage.cs
?????文件????????4994??2014-08-18?15:35??2048小游戲\2048\FMessage.Designer.cs
?????文件????????5817??2014-08-18?15:35??2048小游戲\2048\FMessage.resx
?????文件????????1380??2014-08-18?16:34??2048小游戲\2048\FSetting.cs
?????文件????????7810??2014-08-18?16:34??2048小游戲\2048\FSetting.Designer.cs
?????文件????????5817??2014-08-18?16:34??2048小游戲\2048\FSetting.resx
?????文件?????????874??2014-08-15?17:07??2048小游戲\2048\Game.cs
?????文件?????????839??2014-08-18?12:00??2048小游戲\2048\GameOver.cs
?????文件????????8687??2014-08-18?12:00??2048小游戲\2048\GameOver.Designer.cs
?????文件??????107785??2014-08-18?12:00??2048小游戲\2048\GameOver.resx
............此處省略36個(gè)文件信息
- 上一篇:基于c#的串口通信簡(jiǎn)單
- 下一篇:C#版本Mp3播放器源碼.rar
評(píng)論
共有 條評(píng)論