• 大小: 0.36M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2020-12-14
  • 语言: C#
  • 标签: C#  c  

资源简介

井字棋游戏

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using cross2; 

namespace cross2
{
    public partial class Form1 : Form
    {
        private int[] statusMatrix;        //棋盘上的状态,0为无子,1为电脑下子,10为人下子
        bool finished;
        bool Computerfirst;

        public Form1()
        {
            InitializeComponent();
            statusMatrix = new int[3 3];
            initializeGame();
            Computerfirst = false;
        }

        public void initializeGame()
        {
            resetMatrix();
            finished = false;
            initializeDisplay();
        }

        private void resetMatrix()
        {

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件      15360  2009-11-19 21:20  c#井字棋\cross2\bin\Debug\cross2.exe

     文件      36352  2009-11-19 21:20  c#井字棋\cross2\bin\Debug\cross2.pdb

     文件      14328  2009-11-19 21:20  c#井字棋\cross2\bin\Debug\cross2.vshost.exe

     文件        490  2007-07-21 02:33  c#井字棋\cross2\bin\Debug\cross2.vshost.exe.manifest

     文件       3759  2009-10-06 13:19  c#井字棋\cross2\cross2.csproj

     文件       5934  2009-11-19 21:19  c#井字棋\cross2\Form1.cs

     文件       8098  2009-11-19 21:18  c#井字棋\cross2\Form1.Designer.cs

     文件       5814  2009-11-19 21:18  c#井字棋\cross2\Form1.resx

     文件        717  2009-11-19 21:20  c#井字棋\cross2\obj\Debug\cross2.csproj.FileListAbsolute.txt

     文件        847  2009-11-19 21:18  c#井字棋\cross2\obj\Debug\cross2.csproj.GenerateResource.Cache

     文件      15360  2009-11-19 21:20  c#井字棋\cross2\obj\Debug\cross2.exe

     文件        180  2009-11-19 21:18  c#井字棋\cross2\obj\Debug\cross2.Form1.resources

     文件      36352  2009-11-19 21:20  c#井字棋\cross2\obj\Debug\cross2.pdb

     文件        180  2009-10-22 18:32  c#井字棋\cross2\obj\Debug\cross2.Properties.Resources.resources

     文件        487  2009-10-06 10:35  c#井字棋\cross2\Program.cs

     文件       1344  2009-10-06 10:35  c#井字棋\cross2\Properties\AssemblyInfo.cs

     文件       2862  2009-10-06 10:35  c#井字棋\cross2\Properties\Resources.Designer.cs

     文件       5612  2009-10-06 10:35  c#井字棋\cross2\Properties\Resources.resx

     文件       1091  2009-10-06 10:35  c#井字棋\cross2\Properties\Settings.Designer.cs

     文件        249  2009-10-06 10:35  c#井字棋\cross2\Properties\Settings.settings

     文件       6674  2009-10-22 20:21  c#井字棋\cross2\THINK.cs

     文件        908  2009-10-06 10:35  c#井字棋\cross2.sln

    ..A..H.     14336  2009-11-19 21:20  c#井字棋\cross2.suo

     文件     495104  2009-11-19 21:21  c#井字棋\井字棋.ppt

     目录          0  2009-10-06 10:48  c#井字棋\cross2\obj\Debug\Refactor

     目录          0  2009-10-06 10:35  c#井字棋\cross2\obj\Debug\TempPE

     目录          0  2009-10-22 18:32  c#井字棋\cross2\bin\Debug

     目录          0  2009-11-19 21:20  c#井字棋\cross2\obj\Debug

     目录          0  2009-10-06 10:35  c#井字棋\cross2\bin

     目录          0  2009-10-06 10:35  c#井字棋\cross2\obj

............此处省略6个文件信息

评论

共有 条评论