登录
首页 » 算法 » 黑白棋c++

黑白棋c++

于 2022-07-27 发布 文件大小:1.65 MB
0 222
下载积分: 2 下载次数: 1

代码说明:

1.显示游戏的界面功能游戏界面上包括游戏等级选择、重新开始、游戏帮助的控件对游戏进行相应的设置。2.接受鼠标输入功能能够接受玩家的鼠标输入功能,把棋子放入指定的位置。3.根据规则翻转相应的棋子无论是电脑或是玩家在棋盘中落下棋子后,能够根据游戏的规则,把横向、纵向及对角直线上的棋子全部翻转过来,变成最后落下棋子的颜色,并对棋子数量进行增减。4.游戏胜负判断功能双方都没有棋子可下时棋局结束,以棋子数目来计算胜负,棋子多的一方获胜。在棋盘还没下满时,如果一方的棋子应经被对方吃光,则棋局结束。将对手棋子吃光的一方获胜。5.实现人机对战模式支持人工智能,根据游戏等级的不同,进行不同的算法深度搜索,找出最合理的位置进行落子操作。6.人工智能的等级设置能够指定当前电脑人工智能的等级。根据不同的等级,其算法搜索深度不同。7.游戏提供帮助说明在游戏界面中,提供一个控件。以方便对本游戏不了解的玩家对游戏进行操作和使用

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 聚类全集以及内附数据集,可以方便使用。
    聚类算法全集以及内附数据集,可以方便使用。-clustering algorithm and the Collected Works of containing data sets, it is convenient to use.
    2022-07-14 12:52:35下载
    积分:1
  • 常用的C程序。主要内容包括多项式的计、复数运、随机数的产生、矩阵运、矩阵特征值与特征向量的计、线性代数方程组的求解、非线性方程与方程组的求解、插值与...
    常用算法的C程序。主要内容包括多项式的计算、复数运算、随机数的产生、矩阵运算、矩阵特征值与特征向量的计算、线性代数方程组的求解、非线性方程与方程组的求解、插值与逼近、数值积分、常微分方程组的求解、数据处理、极值问题的求解、数学变换与滤波、特殊函数的计算、排序和查找。-Commonly used algorithm of C procedures. Include polynomial terms, complex computation, random number generation, matrix operations, matrix eigenvalue and eigenvector calculations, linear algebra equations, nonlinear equations with the equations, interpolation and approximation, numerical integration, solving ordinary differential equations, data processing, for solving extremum problems, mathematical transformation and filtering, the calculation of special functions, sorting and search.
    2022-04-07 17:08:50下载
    积分:1
  • This algorithm was developed by Professor Ronald L. Rivest of MIT and can be fou
    This algorithm was developed by Professor Ronald L. Rivest of MIT and can be found presented in several languages. What I provide to you here is a C++ derivative of the original C implementation of Professor Rivets. The library code itself is platform-independant and has been tested in Redhat Linux. I ve included the sample code and makefile that I used for the Linux test. The demo, however, was written with Visual C++ 6 on a Windows 2000 platform.-This algorithm was developed by Professor Ronald L. Rivest of MIT and can be found presented in several languages. What I provide to you here is a C derivative of the original C implementation of Professor Rivets. The library code itself is platform-independant and has been tested in Redhat Linux. I ve included the sample code and makefile that I used for the Linux test. The demo, however, was written with Visual C 6 on a Windows 2,000 platform.
    2022-01-27 12:21:27下载
    积分:1
  • HRV频率分析
    计算使用FFT,AR,和Lomb-Scargle频率域HRV
    2023-04-13 05:35:03下载
    积分:1
  • 机器学习logstic回归的c语言实现
    本人在学习机器学习的相关算法,正在编写c语言程序,这是logistic回归的代码,数据基于《机器学习实战》这本书。
    2022-05-25 06:36:41下载
    积分:1
  • Openssl调用
    E直接调用OPENSSL实现ECC,RSA,DES,AES算法例程.E directly call OPENSSL achieve ECC, RSA, DES, AES algorithm routines.
    2022-10-30 19:10:03下载
    积分:1
  • In this note we make a critical comparison of some matlab programs for the digit...
    详细表述了分数阶傅立叶变换的离散实现,将现有的算法进行比较。-In this note we make a critical comparison of some matlab programs for the digital computation of the fractional Fourier transform that are freely available and we describe our own implementation that lters the best out of the existing ones. Two types of transforms are considered: First the fast approximate fractional Fourier transform algorithm for which two algorithms are available. The method is described in H.M. Ozaktas, M.A. Kutay, and G. Bozdagi. Digital computation of the fractional Fourier transform. IEEE Trans. Signal Process., 44:2141{2150, 1996. There are two implementations: one is written by A.M. Kutay the other is part of package written by J. O Neill. Secondly the discrete fractional Fourier transform algorithm described in the master thesis C . Candan. The discrete fractional Fourier transform, Bilkent Univ., 1998 and an algorithm described by S.C. Pei, M.H. Yeh, and C.C Tseng: Digital fractional Fourier transform base
    2022-02-09 21:16:41下载
    积分:1
  • ARREGLOS EN FORTRAN
    Algoritmos en Fortran 标准的身材段实习发展 manejar arreglos 标准的身材 completo 独奏干草 que compilar y ejecutar
    2022-02-03 02:35:48下载
    积分:1
  • Gaussian elimination method for solving linear equations, in which the compiler...
    高斯消去法求解线性方程组,以在TC2.0中编译通过-Gaussian elimination method for solving linear equations, in which the compiler through WITH TC 2.0
    2022-07-19 12:59:10下载
    积分:1
  • 全自主足球机器人运动控制系统的研制
    资源描述在Matlab.Simulink环境下对机器人的运动控制系统进行建模和仿真分析,详细 阐述了在Matlab.Simulink环境下建立各仿真模型的步骤,测试Fuzzy.BPNN.PID复 合控制电机调速算法以及基于速度补偿控制器的四轮解耦算法的可行性。最终在以 $3C2440A和4块dsPIC为控制芯片的硬件平台上对控制算法进行了嵌入式实现,并 通过实物实验表明机器人能够较为快速、精确、可靠地跟随期望轨迹,完全能满足 全自主机器人足球比赛的要求。
    2022-03-11 22:40:04下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载