联合开发网   搜索   要求与建议
                登陆    注册
排序按匹配   按投票   按下载次数   按上传日期
按分类查找All 其他智力游戏(232) 
按平台查找All Visual C++(232) 

[其他智力游戏] Seeking-twin-prime-numbers

所谓孪生素数指的是间隔为2的两个相邻素数,因为它们之间的距离已经近的不能再近了,如同孪生兄弟一样,所以将这一对素数称为孪生素数。 显然,最小的一对孪生素数是(1,3)。我们可以写出3〜 100以内的孪生素数,一共有8对,分别是(3,5),(5,7),(11,13),(17,19),(29,31),(41,43),(59,61)和(71,73)。随着数字的增大,孪生素数的分布也越来越稀疏,人工寻找孪生素数变得非常困难。 本题要解决的问题是:编程求出3〜 1000以内的所有孪生素数。
The so-called twin prime number refers to the two adjacent prime numbers of 2, because the distance between them can not be closer, as the twin brothers, so this pair of prime number known as the twin prime number. Obviously, the smallest pair of twin prime numbers is (1,3). We can write the number of twin numbers within 3 to 100, a total of 8 pairs, respectively (3,5), (5,7), (11,13), (17,19), (29,31) 41, 43), (59, 61) and (71, 73). With the increase in numbers, the distribution of twin prime numbers is becoming more and more sparse, and it is very difficult to find twin numbers manually. The problem to be solved in this question is: programming to find all within 3 ~ 1000 twin prime number. (2017-04-23, Visual C++, 81KB, 下载1次)

http://www.pudn.com/Download/item/id/1492954865876755.html

[其他智力游戏] qtllk

VC/C++源码,游戏编程,连连看 基于Qt的VC++连连看程序,源代码本身是比较小的,QT库附带的文件比较多,源码打包后有22M左右,因建立于QT库,所以比较有针对性,以此有需求的可下载源码,源代码在sources文件夹中。游戏测试文件在Game目录下。
VC/C++ source, game programming, Qt-based VC++ Lianliankan Lianliankan program, the source code itself is relatively small, QT libraries supplied more documents, source code packaged with 22M or so, due to built on QT libraries, so have more targeted, there is a demand in order to download source code, the source code in the sources folder. Game test file in Game directory. (2013-10-28, Visual C++, 21754KB, 下载3次)

http://www.pudn.com/Download/item/id/2385397.html

[其他智力游戏] passrive

编程完成商人过河游戏:有三个商人带着三个随从和货物过河,船每次最多只能载两个人,由他们自己划行,并且如何乘船渡河的大权由商人掌握。要求保证在过河期间的任一岸上商人的人数要大于或等于随从的人数,否则随从会杀死商人抢走货物。设计一个符合上述要求的商人过河的游戏。要求程序运行效果如下图。 (1)有游戏规则提示,按任意键开始游戏,按“Q”键退出游戏; (2)程序开始,分别提示每次从河岸这边到那边、从河岸那边到这边的商人和随从人数; (3)如果输入错误(如一次输入的人数不得超过2个、过河的人数不得超过2个),则提示错误并且按任意键重新开始游戏; (4)当任一河岸的商人数小于随从数时,提示商人被杀,按任意键继续游戏; (5)当游戏成功时提示游戏成功,按任意键结束游戏。
Programming complete businessman across the river game: there are three businessmen with three follow and cargo across the river, the ship most every time can only take two people, by their own oar, and how to cross the river by boat power by businessmen master. Requirements that the river during the period of the number of any shore businessman than or equal to the number of people followed, otherwise follow will kill traders take goods. Design a meet above requirement businessman across the river of the game. For program execution effect as the chart. (2012-11-27, Visual C++, 13KB, 下载4次)

http://www.pudn.com/Download/item/id/2062739.html

[其他智力游戏] A-wise-man-live

问题的提出:17世纪法国数学家加斯帕的一本《数学的游戏问题》描述了许多有趣问题,约瑟问题就是其中之一: 15名基督教徒和15名异教徒同乘一船航行,途中风浪大作,危机万分,领航者告诉大家,只要将全船的一半人投入海中,其余人就能幸免。大家都同意这个办法,并协定者30人围成一圈;由第一个人起报数,每数至第9人便把他投入海中,下一个接着从1开始报数,第9人又被投入海中,依次循环,直至剩下15人为止。问题是如何排法使投入海中的人全为异教徒? 编程的思路:此问题有人把它的答案隐示于下列詩句中: From numbers’ aid and art, (依靠数字的和魔力,) Never will fame depart! (声誉决不会离你而去!) 这句诗中元音字母依次为:oueaiaaeeiaeea,分别用1、2、3、4、5代替a、e、i、o、u,便得一排数(划线得数字表示基督教徒,不划线的表示异教徒)。 4 5 2 1 3 1 1 2 2 3 1 2 2 1 故所求排法诗4个基督教徒,5个异教徒,再2个基督教徒,1个异教徒,…可以证明,这种排法所有的基督教徒都是安全的。
The problem put forward: 17 th century French mathematician gaspar s book "the game of mathematics problems describes many interesting questions, Joseph is one of them: 15 Christian and pagan 15 with a ship sailing by, on the wind was blowing and crisis extremely, pilot told everyone, as long as the whole ship half of them into the sea, and the rest will survive. We all agree with this method, and the agreement is 30 a circle By the first man up to number off, each number to 9 people gave him into the sea, and the next then from 1 began to sound off, who was put into the sea and 9, in circulation, until 15 people left so far. The question is how to row in the sea to input method for all pagan? Programming ideas: this was the answer to the question it concealed in the following lines: From Numbers aid and art, (depending on the number and the magic,) Never will fame depart! (reputation will never leave you!) This poem of vowels in order as: oueaiaaeeiaeea, respectively for 1, 2, (2012-04-17, Visual C++, 11KB, 下载4次)

http://www.pudn.com/Download/item/id/1833795.html

[其他智力游戏] guess

VC++写的小游戏思想家源代码,好像是一款猜数据游戏,因时间关系这里没有亲自玩,游戏源程序可以VC6环境顺利编译,有人把本游戏称为“思想阅读者”,玩的投入的时候会感觉很有意思,对于从事VC++编程的朋友们,或许只会关注游戏内部的流程、代码实现等。
Written in VC++ source code games thinkers, the data seems to be a guessing game in person because there is no time to play, the game source code can be compiled successfully VC6 environment, some people in this game called " thought reader" , playing the inputs and feel very interesting, in VC++ Programming for friends, maybe only concerned about the process within the game, code and so on. (2011-04-28, Visual C++, 54KB, 下载4次)

http://www.pudn.com/Download/item/id/1510687.html

[其他智力游戏] guess

猜数游戏。计算机选择一个四位数,由游戏者来猜这个数,游戏者在终端不停输入四位数,每输入一次,计算机都指出该数猜对几位数字及有几位正确的数字的位置也正确,直到游戏者全部猜正确为止,计算机输出游戏者所猜的次数。编程序,实现该游戏。
Guessing game. Computer to select a four-digit, from the player to guess the number of players constantly in the terminal input four-digit, one for each input, the computer is that the number of guess several several figures and the location of the correct figure is also correct until the players all guess the correct date, the computer output by those who guess the number game. Programmed to achieve the game. (2010-08-17, Visual C++, 184KB, 下载2次)

http://www.pudn.com/Download/item/id/1271607.html

[其他智力游戏] Snake_App

又一个贪吃蛇i游戏的源码,虽然每一款贪吃蛇的玩法都相同,但是编程的算法却不同,本贪吃蛇有要是应用到VC++的循环队列和简单链表原理实现的,用键盘上的W/A/S/D键分别控制蛇身移动,越接越长,在游戏开始前,蛇身、食物数量可以自己设置
I also a Snake game source code, even though each of the games are played are the same as a Snake, but the programming algorithm is different, the Snake has applied to the VC++ If the cycle of the queue and a simple theory linked to achieve, with the on the keyboard W/A/S/D keys control Yishen were moving more then the longer the game before the start of Yi Shen, quantity of food you can set up their own (2010-03-17, Visual C++, 305KB, 下载8次)

http://www.pudn.com/Download/item/id/1090406.html

[其他智力游戏] erluosifangkuai

这是用MFC做的一款久玩不衰的智力游戏——俄罗斯方块。界面美观大方,可玩性强。希望对学习MFC的大一新生有所帮助,在开发过程中会遇到很多困难,望朋友们保持一个积极的心态,体会编程的乐趣。祝大家成功!
This is done by MFC does not play a long-standing failure of the intelligence game- Tetris. Elegant interface, strong playability. Want to learn MFC help the freshmen in the development process will encounter many difficulties, friends hope to maintain a positive frame of mind, experience the fun of programming. I wish you all success! (2009-08-08, Visual C++, 881KB, 下载5次)

http://www.pudn.com/Download/item/id/870744.html

[其他智力游戏] mario

以前曾发过C++版的超级玛丽,经过近段时间的完善,本游戏已接近成熟,这是源码和技术文档,希望与喜欢C++游戏编程的朋友一起切磋学习。源码包中有已经导出生成的EXE可执行文件以及全部源代码还有一个DOC技术文档。
Previously issued C++ version of the super-Mary, through the perfect Recently, the game is close to maturity, which is source code and technical documentation, hope and love C++ game programming, learn to learn with friends. Source packages have been generated by export EXE executable file and all source code there is a technical document DOC. (2009-07-27, Visual C++, 1756KB, 下载22次)

http://www.pudn.com/Download/item/id/857925.html

[其他智力游戏] snake

VC++新手写的贪吃蛇游戏,界面和功能都比较粗糙,希望对于初学者有所帮助。其实通过这种小游戏的编写,你会学到很多和游戏无关的东西,这就是学习编程一个提高的过程,程序不在简单与复杂,关键是这种结果的背后你能得到多少你不知道的东西。
VC++ new handwritten Snake game, interface and features are relatively rough, want to be helpful for beginners. In fact, through the preparation of this game, you will learn a lot and the game has nothing to do things, and this is a learning program to improve the processes, procedures are not simple and complex, the key is that the results of how much you can behind you do not know things. (2009-07-20, Visual C++, 24KB, 下载19次)

http://www.pudn.com/Download/item/id/849391.html

[其他智力游戏] PengPeng1

这是是我前几天仿写的小游戏《看谁守得住》的源代码,有详细的注释,代码短,但涉及到windows实时网络游戏的诸多基本元素,包括多线程、套接字、双缓冲、边界检查、3D视角等,程序可扩展性好,对程序中小球个数NBALL重新赋值(比如改成6)可以方便的扩展成网络桌球,对大球个数修改可以方便的扩展成网络足球(需要修改碰撞判断条件),也可以很方便的移植为调试OpenGL、D3D程序的平台(替换显示类C3DConvertor),是一个值得参考的入门级实时3D游戏编程框架 游戏支持单机和双人局域网两种游戏模式,双击右键,建立主机或者连接到主机 滚轮改变视角 窗口可拖动
this is a few days before my parodies of small game, "Let us see who will endure" the source code, a detailed notes, short code, But relates to real-time network game windows of many of the basic elements, including multi-threaded, socket, double buffering, border checks, 3D perspective, process scalability, and Small ball right procedures NBALL number re-assignment (for example into 6) to facilitate the expansion into the network pool, Number of big balls can be amended to facilitate the expansion of the network into football (need to amend the judgment collision conditions), can be very convenient for debugging OpenGL transplantation, Motion procedures platform (Replacement C3DConvertor show category), is a reference to the entry-level 3-D game programming framework to support (2007-04-17, Visual C++, 26KB, 下载306次)

http://www.pudn.com/Download/item/id/269187.html

[其他智力游戏] elsfk带算法

很多编程爱好者都编写过俄罗斯方块的游戏程序。很久以前,我用Tc2.0也做过一个;最近有好些朋友看见我以前的俄罗斯方块的程序后, 问我是怎么做的。我一直想把这个程序的整个过程写一份详细的东西,
many programming enthusiasts are prepared off Tetris game procedures. A long time ago, I used a Tc2.0 have done; Recently, I saw some friends of the Russian block before the procedures and asked how I was doing. I always wanted to turn the whole process procedures for writing a detailed things, (2005-03-23, Visual C++, 551KB, 下载569次)

http://www.pudn.com/Download/item/id/1111548048181407.html
总计:232