资源简介
C#编写的程序,一个极其简单的小游戏,可以用来交作业,哈哈,功能不是很多。有感兴趣的可以下载看看。可以在vs2013中直接打开,是源码!!!
代码片段和文件信息
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 BigHomework
{
public partial class Form1 : Form
{
char player1 = ‘A‘;
char player2 = ‘B‘;
char turn ;
bool p1stop = false;
bool p2stop = false;
int[] step = new int[27];
Random ra = new Random();
int step1 = 1;
int step2 = 1;
int tep = 0;
public Form1()
{
turn = player1;
InitializeComponent();
get_location();
}
private void Form1_Load(object sender EventArgs e)
{
}
private void start_Click(object sender EventArgs e)
{
}
private void label1_Click(object sender EventArgs e)
{
}
private void pictureBox25_Click(object sender EventArgs e)
{
}
//判断A、B玩家的位置
private void get_location()
{
textBox1.Name = “textBox“ + 1;
textBox2.Name = “textBox“ + 2;
textBox3.Name = “textBox“ + 3;
textBox4.Name = “textBox“ + 4;
textBox5.Name = “textBox“ + 5;
textBox6.Name = “textBox“ + 6;
textBox7.Name = “textBox“ + 7;
textBox8.Name = “textBox“ + 8;
textBox9.Name = “textBox“ + 9;
textBox10.Name = “textBox“ + 10;
textBox11.Name = “textBox“ + 11;
textBox12.Name = “textBox“ + 12;
textBox13.Name = “textBox“ + 13;
textBox14.Name = “textBox“ + 14;
textBox15.Name = “textBox“ + 15;
textBox16.Name = “textBox“ + 16;
textBox17.Name = “textBox“ + 17;
textBox18.Name = “textBox“ + 18;
textBox19.Name = “textBox“ + 19;
textBox20.Name = “textBox“ + 20;
textBox21.Name = “textBox“ + 21;
textBox22.Name = “textBox“ + 22;
textBox23.Name = “textBox“ + 23;
textBox24.Name = “textBox“ + 24;
textBox25.Name = “textBox“ + 25;
textBox26.Name = “textBox“ + 26;
this.Controls.Add(textBox1);
this.Controls.Add(textBox2);
this.Controls.Add(textBox3);
this.Controls.Add(textBox4);
this.Controls.Add(textBox5);
this.Controls.Add(textBox6);
this.Controls.Add(textBox7);
this.Controls.Add(textBox8);
this.Controls.Add(textBox9);
this.Controls.Add(textBox10);
this.Controls.Add(textBox11);
this.Controls.Add(textBox12);
this.Controls.Add(textBox13);
this.Controls.Add(textBox14);
this.Controls.Add(textBox15);
this.Contro
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2018-12-13 15:11 2016188103_金忠煜_大作业\
目录 0 2018-12-20 19:48 2016188103_金忠煜_大作业\BigHomework\
文件 1002 2018-12-13 15:11 2016188103_金忠煜_大作业\BigHomework.sln
文件 37888 2018-12-20 20:20 2016188103_金忠煜_大作业\BigHomework.v12.suo
文件 187 2018-12-13 15:11 2016188103_金忠煜_大作业\BigHomework\App.config
文件 3802 2018-12-13 15:27 2016188103_金忠煜_大作业\BigHomework\BigHomework.csproj
目录 0 2018-12-13 15:11 2016188103_金忠煜_大作业\BigHomework\bin\
目录 0 2018-12-13 15:50 2016188103_金忠煜_大作业\BigHomework\bin\Debug\
文件 73216 2018-12-20 20:12 2016188103_金忠煜_大作业\BigHomework\bin\Debug\BigHomework.exe
文件 187 2018-12-13 15:11 2016188103_金忠煜_大作业\BigHomework\bin\Debug\BigHomework.exe.config
文件 34304 2018-12-20 20:12 2016188103_金忠煜_大作业\BigHomework\bin\Debug\BigHomework.pdb
文件 23168 2018-12-20 19:25 2016188103_金忠煜_大作业\BigHomework\bin\Debug\BigHomework.vshost.exe
文件 187 2018-12-13 15:11 2016188103_金忠煜_大作业\BigHomework\bin\Debug\BigHomework.vshost.exe.config
文件 490 2018-04-12 07:35 2016188103_金忠煜_大作业\BigHomework\bin\Debug\BigHomework.vshost.exe.manifest
文件 12381 2018-12-20 19:48 2016188103_金忠煜_大作业\BigHomework\Form1.cs
文件 43210 2018-12-20 19:29 2016188103_金忠煜_大作业\BigHomework\Form1.Designer.cs
文件 72980 2018-12-20 19:35 2016188103_金忠煜_大作业\BigHomework\Form1.resx
目录 0 2018-12-13 15:11 2016188103_金忠煜_大作业\BigHomework\obj\
目录 0 2018-12-20 20:12 2016188103_金忠煜_大作业\BigHomework\obj\Debug\
文件 681 2018-12-20 19:25 2016188103_金忠煜_大作业\BigHomework\obj\Debug\BigHomework.csproj.FileListAbsolute.txt
文件 977 2018-12-20 19:35 2016188103_金忠煜_大作业\BigHomework\obj\Debug\BigHomework.csproj.GenerateResource.Cache
文件 2211 2018-12-17 08:50 2016188103_金忠煜_大作业\BigHomework\obj\Debug\BigHomework.csprojResolveAssemblyReference.cache
文件 73216 2018-12-20 20:12 2016188103_金忠煜_大作业\BigHomework\obj\Debug\BigHomework.exe
文件 47328 2018-12-20 19:35 2016188103_金忠煜_大作业\BigHomework\obj\Debug\BigHomework.Form1.resources
文件 34304 2018-12-20 20:12 2016188103_金忠煜_大作业\BigHomework\obj\Debug\BigHomework.pdb
文件 180 2018-12-13 15:50 2016188103_金忠煜_大作业\BigHomework\obj\Debug\BigHomework.Properties.Resources.resources
文件 1453 2018-12-13 16:00 2016188103_金忠煜_大作业\BigHomework\obj\Debug\DesignTimeResolveAssemblyReferences.cache
文件 6951 2018-12-13 15:11 2016188103_金忠煜_大作业\BigHomework\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache
文件 0 2018-12-13 15:11 2016188103_金忠煜_大作业\BigHomework\obj\Debug\TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
文件 0 2018-12-13 15:11 2016188103_金忠煜_大作业\BigHomework\obj\Debug\TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
文件 0 2018-12-13 15:11 2016188103_金忠煜_大作业\BigHomework\obj\Debug\TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs
............此处省略8个文件信息
相关资源
- C# 调用win32 api函数-user32.dll详细说明
- C# 调用BarTender打印条码DEMO
- 大型比赛竞赛抽签系统 可打印 c# vs
- C#编写的Gerber查看器
- lua C# .Net4.0 vs2010 LuaInterface
- C#十六进制编辑器
- 明华URF-35H读卡器 C#读写源码 为大家
- C#文件流读取CSV文件
- c#读写PDF文件sql
- C# winform Socket大文件传输
- c#车牌识别系统附30张测试图片
- 《C#面向对象程序设计》源代码(CS)
- 金旭亮《C#面向对象程序设计》教案
- 试题库管理系统毕业论文(C#)源程序
- 学校网站原代码(C#.NET)
- C#-数据库操作技术-员工管理系统
- c#web开发入门经典
- C#与Matlab混合编程的几种方式
- c# 开发与 mysql数据库实现的增删改查
- C#异步操作 异步查询数据库 异步处理
- Basler相机通过IO触发源码
- [源代码] 《领域驱动设计 (C# 2008 实
- 松下PLC与C#通讯串口调试入门教程.z
- USB 继电器控制器 LCUS-1 保证能用 c#
- C# AES加密解密小工具
- C#圆形按钮,非常漂亮动态~~
- [精]C#仿QQ右下角弹出提示框()
- C#进程间通信-共享内存代码
- 有史以来最简单的三层(C#)
- vb调用c#编写的串口DLL文件(vb源码
评论
共有 条评论