chinesechessthinker.cs
来自「Visual studio 2005,C#开发 具有人工智能」· CS 代码 · 共 19 行
CS
19 行
using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.InteropServices;
namespace GameWorld
{
public class ChineseChessThinker
{
[DllImport("CChessThinker.dll")]
public static extern bool Calculate(string map,int timespan, ref int x1, ref int y1, ref int x2, ref int y2);
//bool Think(char* map,int timespan,int& x1,int& y1,int& x2,int& y2);
[DllImport("CChessThinker.dll")]
public static extern bool test(string x1);
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?