-
CH19
俄罗斯方块 一个用vb2005编写的。请大家多多指教。(Tetris one written using vb2005. Please exhibitions.)
- 2009-12-11 11:48:47下载
- 积分:1
-
poly
标题: 多边形游戏
时 限: 1000 ms
内存限制: 10000 K
总时限: 3000 ms
描述: 多边形游戏是一个单人玩的游戏,开始时有一个由n个顶点构成的多边形。每个顶点被赋予一个整数值,每条边被赋予一个运算符“+”或“*”。所有边依次用整数从1到n编号。
游戏第1步,将一条边删除。
随后n-1步按以下方式操作:
(1)选择一条边E以及由E连接着的2个顶点V1和V2;
(2)用一个新的顶点取代边E以及由E连接着的2个顶点V1和V2。将由顶点V1和V2的整数值通过边E上的运算得到的结果赋予新顶点。
最后,所有边都被删除,游戏结束。游戏的得分就是所剩顶点上的整数值。
输入: 输入共两行,第一行一个整数n表示顶点个数,第二行共2*n个数,分别为数字和字符。
例如:对于上图中的问题,我们可以这样按输入样例中的例子输入,数学中的“+”号代表加法,小写字母“x”代表乘法。
输出: 一个整数,计算最高得分。
输入样例: 5
10 + -1 x -2 x 3 + -8 x
输出样例: 486
(标题: 多边形游戏
时 限: 1000 ms
内存限制: 10000 K
总时限: 3000 ms
描述: 多边形游戏是一个单人玩的游戏,开始时有一个由n个顶点构成的多边形。每个顶点被赋予一个整数值,每条边被赋予一个运算符“+”或“*”。所有边依次用整数从1到n编号。
游戏第1步,将一条边删除。
随后n-1步按以下方式操作:
(1)选择一条边E以及由E连接着的2个顶点V1和V2;
(2)用一个新的顶点取代边E以及由E连接着的2个顶点V1和V2。将由顶点V1和V2的整数值通过边E上的运算得到的结果赋予新顶点。
最后,所有边都被删除,游戏结束。游戏的得分就是所剩顶点上的整数值。
输入: 输入共两行,第一行一个整数n表示顶点个数,第二行共2*n个数,分别为数字和字符。
例如:对于上图中的问题,我们可以这样按输入样例中的例子输入,数学中的“+”号代表加法,小写字母“x”代表乘法。
输出: 一个整数,计算最高得分。
输入样例: 5
10+-1 x-2 x 3+-8 x
输出样例: 486
)
- 2012-12-17 10:35:16下载
- 积分:1
-
Surakarta
苏拉卡尔塔棋的源码,可实现人机对战,和搜索树的层次选择(Surakarta chess source code, enabling crew war, and the level of the search tree selection)
- 2020-10-23 09:07:22下载
- 积分:1
-
RPG-game-CPP
此游戏的主要内容是RPG的回合制对战 玩家可选3个不同角色,与AI进行对战。特殊内容包括:实验技能和使用物品。另包含此软件的功能测试 的详细报告。(A RPG game based on C++ programming.An evaluation report provided.)
- 2012-11-03 18:53:08下载
- 积分:1
-
chaojimali
用VB仿超级玛丽游戏,虽然界面和真正的玛丽游戏比起来有点差,但游戏的控制还算可以了,基本都实现了。(VB with games like Super Mario, although the interface and the real Mary a little bit worse than the game, but still can control the game, and basically realized.)
- 2009-05-21 03:03:59下载
- 积分:1
-
wapgame_analyze-9255
本电子文档是全面介绍梦网游戏全面分析的书籍,对游戏开发有兴趣的朋友不防下来研究一下。(the electronic documentation is comprehensive introduction to the game repeatedly comprehensive analysis of books, of the game are interested in the development of a friend down defense research.)
- 2007-01-14 16:55:04下载
- 积分:1
-
Chess
简易的中国象棋游戏,用VC++.net编程(Chinese chess)
- 2013-03-11 08:43:04下载
- 积分:1
-
Backgammon
五子棋是有两个人在一盘棋上进行对抗的竞技运动。在对局开始时,先由用户选择哪方先开局,先开局一方将一枚棋子落在一点上,然后由另一方在对方棋周围的交叉点上落子,如此轮流落子,直到某一方首先在棋盘的直线、横线或斜线上形成连续的五子则该方就算获胜。此时,算法结束。当有任何一方想退出时,都可在算法中实现。(Backgammon is a competitive sport confrontation of two people in a game of chess. At the beginning of the game, the first users to choose which side first start, first start the party will be a pawn falls point, and then by the other party on the other chess around the intersection of Lazi, so turns Lazi, until the party first the chessboard straight, horizontal or diagonal to form a continuous five sons even if the party wins. In this case, the algorithm ends. When either party wishes to withdraw from, can be realized in the algorithm.)
- 2012-11-05 20:18:00下载
- 积分:1
-
five
五子棋的小程序,考虑了先手双三禁手的情况可以人和电脑,人和人,步数有统计,开始可以选择白旗或者黑棋(Gobang a small program, taking into account firstly the three pairs of hands can be cut and the computer, and the people, a few steps there are statistics, can choose to start a white flag or Black)
- 2010-02-02 11:23:10下载
- 积分:1
-
bomb
It s a game you have to find out where the bombs are. Hope you Enjoy it.
- 2011-04-25 00:29:19下载
- 积分:1