-
This is a C
这是一个基于C++而做的五子棋游戏-This is a C-based and do 331 games
- 2022-05-07 20:08:16下载
- 积分:1
-
一个简单的围棋打谱程序。
一个简单的围棋打谱程序。-a simple procedure spectrum Go play.
- 2022-11-24 15:10:03下载
- 积分:1
-
1、对输入的要求
玩家手中可以有2-5张牌(玩家自己输入多少张牌)。牌点为2-10的每张牌都分别计为相应的点数。花牌(J,K,Q)都算10点。目标是尽可能...
1、对输入的要求
玩家手中可以有2-5张牌(玩家自己输入多少张牌)。牌点为2-10的每张牌都分别计为相应的点数。花牌(J,K,Q)都算10点。目标是尽可能接近21点,但不要超过21点。所以,任何超过21点的点数都表示这一手牌已经“爆”了。A既可以计为1点,也可以计为11点,要选择对玩家来说最有利的一个点数。例如,1张A和1张10可计为11点或21点,但由于21点更好,所以这一手牌要算成21点。1张A和2张8可计为17点或者27点,由于27点已经“爆”了,所以这一手牌要算成17点。
程序首先询问玩家手上有几张牌,玩家输入2,3,4或者5。然后询问玩家每张牌的点数。点数可为2-10,J,K,Q和A。2-9的值分别作为字符‘2’-‘9’来输入。10,J, Q, K和A等值分别作为字符‘t’,‘j’,‘q’,‘k’和‘a’来输入(当然,玩家不需要输入单引号);
2、对输出的要求:
可以让玩家更清楚的知道他下一步应该怎么做
3、程序所能达到的功能
能够计算出所有牌的点数 之和,而且能够帮你处理好那张牌对 你的牌点之和更有利。-Blackjack
- 2023-06-19 09:10:03下载
- 积分:1
-
Welcome to play, with memory function, but the algorithm is generally used for e...
五子棋游戏,具有记忆功能,但算法一般,采用的是对每个结点分配权值,根据权值的大小来选择落子位置。-Welcome to play, with memory function, but the algorithm is generally used for each node is assigned weights, according to the size of the weights to select the location of Lazi.
- 2023-03-30 14:20:04下载
- 积分:1
-
/*这是本人学过C语言近两年之后写过的第一个象点样子的程序,也是从学过C之后一直想写的诸多程序之一,虽然不大,但毕竟是年轻手生,也倾注了我相当的心血。该程序用时...
/*这是本人学过C语言近两年之后写过的第一个象点样子的程序,也是从学过C之后一直想写的诸多程序之一,虽然不大,但毕竟是年轻手生,也倾注了我相当的心血。该程序用时两周,历经四次大的修改,数十次细节上的改动,最后形成现在的样子。还请各路大虾多多指教。其实程序还很简单,还有很多可以改进的地方,至少还可以引入C的图形机制,至少还可以用C++,VC++改写等。该程序在TC2.0下调试通过。经刘公烈老师一语点拨减少15处警告错误,但仍有一处尚未改正。*/-/* this is my learned C language written nearly two years after the first point as an example of the procedures, as well as from academic C after always wanted to write one of the many procedures, although little, but after all, young Adam, I have devoted considerable effort. The procedure used when two weeks after four major changes, dozens of details on the changes, resulting eventually in what it is today. Also requested will provide tremendous exhibitions. In fact, very simple procedure, there is a lot of room for improvement, at least C can also introduce the graphic mechanism, at least can also use C, VC rewritten so. The procedures under WITH TC 2.0 debugging through. Sent by the strong language teachers a 15 Tips to reduce erroneous warning, but there is sti
- 2022-03-07 13:51:52下载
- 积分:1
-
reversi engine code is fascinating
黑白棋引擎代码,很精彩-reversi engine code is fascinating
- 2023-02-22 11:30:04下载
- 积分:1
-
这是一款可以通过网络对弈的中国象棋程序源代码。
程序使用方法:Create创建主机,对方Join后即可开战!
源代码大小:164K...
这是一款可以通过网络对弈的中国象棋程序源代码。
程序使用方法:Create创建主机,对方Join后即可开战!
源代码大小:164K
-This is a network can play against Chinese chess program source code. Procedures for Use : Create to create mainframe, the other side can Join after the war! Source Size : 164K
- 2022-03-11 23:02:55下载
- 积分:1
-
network Go program, realized the Internet players.
用java写的网络围棋程序,实现网上对战。-network Go program, realized the Internet players.
- 2022-11-20 04:30:03下载
- 积分:1
-
很有趣的中国象棋游戏的源代码,与大家分享
很有趣的中国象棋游戏的源代码,与大家分享-very interesting chess game"s source code to share with you
- 2022-02-26 01:35:09下载
- 积分:1
-
procedures for the use of the development tools vc prepared a small game license...
本程序使用vc开发工具编写了一个牌类小游戏――24点游戏。所设计的界面较紧凑。-procedures for the use of the development tools vc prepared a small game license category-- 24 points game. The interface design more compact.
- 2022-02-20 20:54:28下载
- 积分:1