资源简介
C#版2048小游戏源码,vs2012开发,适合初学者学习,研读。

代码片段和文件信息
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace WindowsFormsApplication1
{
public partial class Form4 : Form
{
public Form4()
{
InitializeComponent();
}
ArrayList xnzuobiao = new ArrayList();//存储空余的坐标,例:(102102)转换成(22)存储为“22“
int count = 0; //计算ArrayList xnzuobiao存储的空余坐标的剩余数,随机产生一个Label时,直接从xnzuobiao中取得
bool kaiguan = true;//开关
bool death = false;//是否死亡
bool fangkuai = false;//是否有方块移动
private void Form4_Load(object sender EventArgs e)//Form的Load事件为空
{
}
private void PdArray()//因有方块移动,重新整理ArrayList中的数据
{
xnzuobiao.Clear();
for (int i = 1; i < 5; i++)
{
for (int j = 1; j < 5; j++)
{
xnzuobiao.Add(i.ToString() + j.ToString());
}
}
count = xnzuobiao.Count;
foreach (Control item in this.pictureBox1.Controls.OfType
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 226358 2015-02-11 00:05 2048\WindowsFormsApplication1\WindowsFormsApplication1\2014-06-10 223015.jpg
文件 185 2015-02-12 11:46 2048\WindowsFormsApplication1\WindowsFormsApplication1\App.config
文件 1245184 2015-02-12 11:01 2048\WindowsFormsApplication1\WindowsFormsApplication1\bin\Debug\WindowsFormsApplication1.exe
文件 187 2015-01-19 10:51 2048\WindowsFormsApplication1\WindowsFormsApplication1\bin\Debug\WindowsFormsApplication1.exe.config
文件 93696 2015-02-12 11:01 2048\WindowsFormsApplication1\WindowsFormsApplication1\bin\Debug\WindowsFormsApplication1.pdb
文件 22984 2015-02-12 11:01 2048\WindowsFormsApplication1\WindowsFormsApplication1\bin\Debug\WindowsFormsApplication1.vshost.exe
文件 187 2015-01-19 10:51 2048\WindowsFormsApplication1\WindowsFormsApplication1\bin\Debug\WindowsFormsApplication1.vshost.exe.config
文件 490 2010-03-17 22:39 2048\WindowsFormsApplication1\WindowsFormsApplication1\bin\Debug\WindowsFormsApplication1.vshost.exe.manifest
文件 187 2015-01-19 10:51 2048\WindowsFormsApplication1\WindowsFormsApplication1\bin\Release\2048.vshost.exe.config
文件 490 2010-03-17 22:39 2048\WindowsFormsApplication1\WindowsFormsApplication1\bin\Release\2048.vshost.exe.manifest
文件 1278464 2015-02-14 10:42 2048\WindowsFormsApplication1\WindowsFormsApplication1\bin\Release\2048逗你玩.exe
文件 185 2015-02-12 11:46 2048\WindowsFormsApplication1\WindowsFormsApplication1\bin\Release\2048逗你玩.exe.config
文件 56832 2015-02-14 10:42 2048\WindowsFormsApplication1\WindowsFormsApplication1\bin\Release\2048逗你玩.pdb
文件 22472 2015-02-14 11:33 2048\WindowsFormsApplication1\WindowsFormsApplication1\bin\Release\2048逗你玩.vshost.exe
文件 185 2015-02-12 11:46 2048\WindowsFormsApplication1\WindowsFormsApplication1\bin\Release\2048逗你玩.vshost.exe.config
文件 490 2010-03-17 22:39 2048\WindowsFormsApplication1\WindowsFormsApplication1\bin\Release\2048逗你玩.vshost.exe.manifest
文件 187 2015-01-19 10:51 2048\WindowsFormsApplication1\WindowsFormsApplication1\bin\Release\WindowsFormsApplication1.vshost.exe.config
文件 490 2010-03-17 22:39 2048\WindowsFormsApplication1\WindowsFormsApplication1\bin\Release\WindowsFormsApplication1.vshost.exe.manifest
文件 57500 2015-02-14 10:42 2048\WindowsFormsApplication1\WindowsFormsApplication1\Form4.cs
文件 8034 2015-02-14 10:42 2048\WindowsFormsApplication1\WindowsFormsApplication1\Form4.Designer.cs
文件 1535030 2015-02-14 10:42 2048\WindowsFormsApplication1\WindowsFormsApplication1\Form4.resx
文件 1308 2015-01-19 20:13 2048\WindowsFormsApplication1\WindowsFormsApplication1\obj\Debug\DesignTimeResolveAssemblyReferences.cache
文件 7168 2015-02-12 09:50 2048\WindowsFormsApplication1\WindowsFormsApplication1\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache
文件 0 2015-01-19 10:51 2048\WindowsFormsApplication1\WindowsFormsApplication1\obj\Debug\TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
文件 0 2015-01-19 10:51 2048\WindowsFormsApplication1\WindowsFormsApplication1\obj\Debug\TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
文件 0 2015-01-19 10:51 2048\WindowsFormsApplication1\WindowsFormsApplication1\obj\Debug\TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs
文件 5120 2015-02-11 00:05 2048\WindowsFormsApplication1\WindowsFormsApplication1\obj\Debug\TempPE\Properties.Resources.Designer.cs.dll
文件 3627 2015-02-12 11:01 2048\WindowsFormsApplication1\WindowsFormsApplication1\obj\Debug\WindowsFormsApplication1.csproj.FileListAbsolute.txt
文件 1248 2015-02-11 13:48 2048\WindowsFormsApplication1\WindowsFormsApplication1\obj\Debug\WindowsFormsApplication1.csproj.GenerateResource.Cache
文件 2209 2015-01-19 10:52 2048\WindowsFormsApplication1\WindowsFormsApplication1\obj\Debug\WindowsFormsApplication1.csprojResolveAssemblyReference.cache
............此处省略43个文件信息
- 上一篇:推特twitter情感分析数据集6W条带标签
- 下一篇:asp.net 在线订餐系统
相关资源
- VS插件源码JSLint(JS辅助工具)
- C# TIP文件生成和拆解
- C#解析HL7消息的库135797
- C# OCR数字识别实例,采用TessnetOcr,对
- 考试管理系统 - C#源码
- Asp.net学生信息管理系统源码
- asp.net C#购物车源代码
- C#实时网络流量监听源码
- C#百度地图源码
- Visual C#.2010从入门到精通配套源程序
- Winform可视化打印模板设计工具含源码
- C# 软件版本更新
- C#屏幕软键盘源码,可以自己定制界面
- 智慧城市 智能家居 C# 源代码
- c#获取mobile手机的IMEI和IMSI
- C#实现简单QQ聊天程序
- 操作系统 模拟的 欢迎下载 C#版
- C#写的计算机性能监控程序
- 用C#实现邮件发送,有点类似于outlo
- MVC model层代码生成器 C#
- c#小型图书销售系统
- C# Socket Server Client 通讯应用 完整的服
- c# winform 自动登录 百度账户 源代码
- C#编写的16进制计算器
- C#TCP通信协议
- C# 数据表(Dataset)操作 合并 查询一
- C#语音识别系统speechsdk51,SpeechSDK51L
- 数据库备份还原工具1.0 C# 源码
-
[免费]xm
lDocument 节点遍历C# - EQ2008LEDc#开发实例
评论
共有 条评论