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

资源简介

五子棋游戏

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Drawing;

namespace Chess
{
    class Chessman//棋子类
    {
        static Bitmap blackchess = new Bitmap(Chess.Properties.Resources.black);
        static Bitmap whitechess = new Bitmap(Chess.Properties.Resources.white);
        public int X { get; set; }
        public int Y { get; set; }
        public int Color { get; set; }

        public void AddedToChessBoard(PictureBox[] Chesspics)
        {
            Chesspics[X Y].Visible = true;
            if (Color == 0)
            {
                Chesspics[X Y].Image = blackchess;
            }
            else
            {
                Chesspics[X Y].Image = whitechess;
        

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

     文件        101  2018-12-28 10:09  README.md

     文件      26624  2019-12-23 14:27  Chess\bin\Debug\Chess.exe

     文件      30208  2019-12-23 14:27  Chess\bin\Debug\Chess.pdb

     文件      26624  2019-12-23 14:27  Chess\bin\Debug\GameComponent.dll

     文件      46592  2019-12-23 14:27  Chess\bin\Debug\GameComponent.pdb

     文件       4460  2018-12-28 10:09  Chess\Chess.csproj

     文件       1454  2018-12-28 10:09  Chess\Chess.idc

     文件        837  2018-12-28 10:09  Chess\Chessman.cs

     文件        859  2018-12-28 10:09  Chess\frmDubug.cs

     文件       7933  2018-12-28 10:09  Chess\frmDubug.Designer.cs

     文件       5817  2018-12-28 10:09  Chess\frmDubug.resx

     文件       1688  2018-12-28 10:09  Chess\frmMain.cs

     文件       5444  2018-12-28 10:09  Chess\frmMain.Designer.cs

     文件       6527  2018-12-28 10:09  Chess\frmMain.resx

     文件          0  2019-12-23 14:27  Chess\obj\Debug\Chess.csproj.CopyComplete

     文件         42  2018-12-28 10:48  Chess\obj\Debug\Chess.csproj.CoreCompileInputs.cache

     文件       2284  2019-12-23 14:27  Chess\obj\Debug\Chess.csproj.FileListAbsolute.txt

     文件        988  2019-12-23 14:27  Chess\obj\Debug\Chess.csproj.GenerateResource.cache

     文件      38799  2019-12-23 14:27  Chess\obj\Debug\Chess.csprojAssemblyReference.cache

     文件      26624  2019-12-23 14:27  Chess\obj\Debug\Chess.exe

     文件        180  2019-12-23 14:27  Chess\obj\Debug\Chess.frmDubug.resources

     文件        180  2019-12-23 14:27  Chess\obj\Debug\Chess.frmMain.resources

     文件      30208  2019-12-23 14:27  Chess\obj\Debug\Chess.pdb

     文件      12126  2019-12-23 14:27  Chess\obj\Debug\Chess.Properties.Resources.resources

     文件       1209  2018-12-28 10:09  Chess\obj\Debug\DesignTimeResolveAssemblyReferences.cache

     文件       7186  2018-12-28 10:09  Chess\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache

     文件       3584  2018-12-28 10:09  Chess\obj\Debug\TempPE\Properties.Resources.Designer.cs.dll

     文件        488  2018-12-28 10:09  Chess\Program.cs

     文件       1334  2018-12-28 10:09  Chess\Properties\AssemblyInfo.cs

     文件       3586  2018-12-28 10:09  Chess\Properties\Resources.Designer.cs

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

评论

共有 条评论