CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - 9-1 9-2
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - 9-1 9-2 - List
[
Other Riddle games
]
hannota70
DL : 0
总个数确定后,每张盘curDisk的移动方向maybe_To是确定的且唯一的:如共有三个盘时,盘1始终向左移动。 这里,将柱子由左向右看成A(源柱子Source),B(借助的柱子Borrow),C(目标柱子Target). A的左看成C,B的左看成A,C的左看成B; A的有看成B,B的右看成C,C的右看成A; 每张盘的移动方法(因为不可能连续两次移动相同的盘!): 一个盘curDisk现在在 柱子curStick上,那么curDisk另一个柱子(3个中除了2个的另1个) 只要有选择的选择一个柱子curStick,分析、判断其最上面的盘curDisk的能否向curDisk确定的唯一的方向移动;移动 完后 再 选择 另一个 柱子 分析 判断 就可以完成了 (这个算法特别适合于人玩这个“弱智”(我有同学这么说)游戏,我玩我的文曲星pc1000a上的Hanoi 9层游戏,需要5分钟就可以移动完毕)-total number identified, each set curDisk maybe_To direction of the movement of which is determined only : If there are three disk, was always left a mobile. Here, the columns from left to right as A (source pole Source), B (using the pole Borrow), C (target pole Target). A left as C, B to the left as A, C on the left as B; A as the B, B on the right side as C, the right as A; each set of mobile methods (as it is impossible for the same two mobile disk!) : a set curDisk curStick now on the pole, then curDisk another pole (three in addition to two other one), when given a choice, choose a pole curStick, analysis, judgment, the most above-curDisk curDisk the ability to determine the direction of the only mobile; mobile End choice after another pole analysis and judgment can be completed (thi
Date
: 2025-12-25
Size
: 2kb
User
:
彬
[
Other Riddle games
]
Tetris0.9
DL : 0
经典的俄罗斯方块游戏。开发工具:Visual Studio .NET。-classic Tetris game. Development tools : Visual Studio.NET.
Date
: 2025-12-25
Size
: 152kb
User
:
蜡笔小羊
[
Other Riddle games
]
Java_Einstein
DL : 0
用JAVA解答智力题: 爱因斯坦留下来的智力题目(谁养鱼?)据说世界上有98%的人答不出来 主题:爱因斯坦留下来的智力题目 1、在一条街上,有5座房子,喷了5种颜色。 2、每个房里住着不同国籍的人 3、每个人喝不同的饮料,抽不同品牌的香烟,养不同的宠物 问题是:谁养鱼? 提示: 1、英国人住红色房子 2、瑞典人养狗 3、丹麦人喝茶 4、绿色房子在白色房子左面 5、绿色房子主人喝咖啡 6、抽Pall Mall 香烟的人养鸟 7、黄色房子主人抽Dunhill 香烟 8、住在中间房子的人喝牛奶 9、 挪威人住第一间房 10、抽Blends香烟的人住在养猫的人隔壁 11、养马的人住抽Dunhill 香烟的人隔壁 12、抽Blue Master的人喝啤酒 13、德国人抽Prince香烟 14、挪威人住蓝色房子隔壁 15、抽Blends香烟的人有一个喝水的邻居 爱因斯坦在20世纪初出的这个谜语。他说世界上有98%的人答不出来。 -with Java intellectual answer that : Einstein's intellectual subject (who fish?) The world is said to have 98% of the people not answer to the theme : Einstein left an intellectual topic, in a street, five houses, sprayed the five colors. Two, every room of different nationalities lived three people each drink different drinks, pumping different brands of cigarettes, raising the pet question is : Who fish? Tip : 1, the British Red lived two houses, three dogs Sweden, Denmark, four tea, green house in the house left five white, green coffee house owner 6, pumping Pall Mall cigarettes beings seven people, the yellow house owner pumped Dunhill cigarettes 8, living in the middle the house drink milk 9, Norway living room No. 10, pumping Blends cigarettes and cats live in the next 11, raise
Date
: 2025-12-25
Size
: 33kb
User
:
赠礼
[
Other Riddle games
]
OpenNineRing
DL : 0
解九连环:玩过九连环吗?知道九连环也是应用递归原理吗?该程序演示了利用递归算法解九连环的过程。-chain solutions 9 : played nine chain? Know that the chain is nine recursive application of the principle? Demonstration of the procedure used recursive algorithms for nine chain process.
Date
: 2025-12-25
Size
: 186kb
User
:
谭俊哲
[
Other Riddle games
]
shudu--(delphi)
DL : 0
数独游戏 九直行九横列,共分成九个九宫格,每行列都由1到9、不能重复的阿拉伯数字组成,每个九宫格亦然。但数独游戏难易等级很多,每个只有一个解法。 可以添加关卡-few independent nine games nine straight row, divided into nine preview, each ranks by 1-9. we should not repeat the Arabic numerals, each preview so. But a few independent game many difficulty levels, each had only one solution. Can be added hurdles
Date
: 2025-12-25
Size
: 190kb
User
:
caiyoulin
[
Other Riddle games
]
TetrisX
DL : 0
俄罗斯方块改进版,由最原始的俄罗斯方块改进来的,支持双打。源程序用 Borland C++ Builder 6.0 编的, 使用了 DirectX 8 SDK (可以使用 DirectX 9 SDK)。-Improved version of the Russian box, from the most primitive to the improvement of the Russian box, support doubles. Source with Borland C++ Builder 6.0 series, the use of the DirectX 8 SDK (can use the DirectX 9 SDK).
Date
: 2025-12-25
Size
: 368kb
User
:
Songjian
[
Other Riddle games
]
NineGrid
DL : 0
九宫格小游戏,自动出题和解题.九宫格(即3格宽×3格高)的正方形状,每一格又细分为一个九宫格。在每一个小九宫格中,分别填上1至9的数字,让整个大九宫格每一列、每一行的数字都不重复。 -Squares of small games, questions and solve problems automatically. Squares (ie, 3 cells wide × 3 grid H) of square-shaped, each divided into a fine grid squares. Small squares in each of the respective fill in the figures 1-9, so that the whole big squares in each row, each row will not repeat the figures.
Date
: 2025-12-25
Size
: 798kb
User
:
huang
[
Other Riddle games
]
jiugong
DL : 0
九宫问题程序 将8个数字随意摆放入3×3的9个格子中,然后让程序算出最优情况,多少步可以走回到某种状态。 初状态设为: 1 2 3 8 4 7 6 5 程序的运行方法: 运行后弹出界面。界面左面的9个格子按照初状态预置。 直接和代表空格的格子相邻的数字格都可以被点,点下后,它将和空格交换位置,代表该数字移入了空格。 如此手工设置一个初始状态。 点击计算的按钮,就可以得出最优解,根据复杂度,需要等待一定的时间。20步以上需要等待的时间较长。 因为是从标准状态手动移动,所以必然有解,当程序算出解后,会在界面上显示出来。 此时,可点击下一步,将你设定的状态一步步走回标准状态。 代码及其说明另附。-err
Date
: 2025-12-25
Size
: 1.5mb
User
:
Abel86
[
Other Riddle games
]
Tetris
DL : 0
俄罗斯方块源代码 可计分,改变级数(1-9)以改变下落速度-Tetris
Date
: 2025-12-25
Size
: 82kb
User
:
金融
[
Other Riddle games
]
Tertris
DL : 0
完整版俄罗斯方块 1.实现穿透 2.实现消减 按Delete键 3.实现增加 按Insert键 4.实现炸弹功能 ,删去周围的方块 5 .下下一个方块 DNEXT显示 6.按钮提示 7 .下落 阴影 提示 8.把下一个方块或下下一个方块 与当前方块交换(当按下下一个方块或下下一个方块时) 9. 按End键 让当前方块下降到 最下面的可放位置. 10. 从开始游戏每过60秒 暂停时间不算在内 从下面升高一行 11. 功能说明. -The full version of Tetris 1. To achieve through 2. To achieve abatement press Delete key 3. Insert key to achieving increased by 4. To achieve a bomb features around deleting the box 5. DNEXT displayed under a box under 6. Button prompt 7 . whereabouts shadow prompted 8. to the next box or under a box under the box with the current exchange (when you press the next or the next block when the next box) 9. Press End key to the box down to the most current The following can be put here. 10. From the start the game over 60 seconds per pause time is not increased, including from the following line 11. Functional Description.
Date
: 2025-12-25
Size
: 2.46mb
User
:
qqforme
[
Other Riddle games
]
tower
DL : 0
本程序按照古老的汉诺塔的游戏原则设计算法,盘子的层数可以从2个到9个之间选择-The process in accordance with the principles of the ancient Tower of Hanoi game design algorithm, the plate number of layers can be between 2-9 options
Date
: 2025-12-25
Size
: 987kb
User
:
张燕
[
Other Riddle games
]
Tetris0.9
DL : 0
能很好的实现传统的俄罗斯方块的基本功能,使用VS2008开发-Can achieve a good tradition of the basic functions of the Russian box, use the VS2008 development
Date
: 2025-12-25
Size
: 209kb
User
:
哈哈
[
Other Riddle games
]
Sudoku
DL : 0
简单的数独游戏。通过”新建游戏“,程序会在9*9的方格中填入常用的数据,玩家也可以采用“人工输入”的方式填入数据。 然后玩家需要按规则填满这81个方格,最后通过“检查”来验证正确性;也可以通过“自动解答”来填满所有方格。“自动解答”程序采用状态压缩搜索算法。-Simple Sudoku. Through the " New Game" , the program will be 9* 9 grid fill the data used, the player can also be used " manual input" method fill data. Players then need to fill it by the rules of 81 grid, and finally through the " inspection" to verify the correctness You can also " auto answer" to fill all the boxes. " Automatic Answer" program uses Search algorithm.
Date
: 2025-12-25
Size
: 587kb
User
:
zgm
[
Other Riddle games
]
Classic-Game-Programming
DL : 0
本文件包括以下小游戏的源代码,均有C语言编写:1.任务管理器2.坦克3.贪吃蛇4.扫雷5.三位魔方6.计算器7.俄罗斯方块8.推箱子9.地空对战 -1 Task Manager 2 tanks 3 Snake 4 mine 5 three cube 6 Calculator 7 Tetris 8. Sokoban 9-to-air battle
Date
: 2025-12-25
Size
: 4.23mb
User
:
AMY
[
Other Riddle games
]
A-wise-man-live
DL : 0
问题的提出: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,
Date
: 2025-12-25
Size
: 11kb
User
:
jim
[
Other Riddle games
]
main
DL : 0
9×9扫雷游戏,采用C语言编写。 具体要求: 1)利用二维数组(9*9)存储整个游戏界面,采用‘*’表示地雷,每次游戏开始需要进行随机布雷; 2)游戏时,通过输入希望打开格子的行号和列号; 3)对于没有打开的各自使用字符‘#’,表示未打开; 4)对于已经打开的格子若没有地雷,在该格子中显示周围有多少个地雷;-9*9 minesweeper game written in C language.
Date
: 2025-12-25
Size
: 1kb
User
:
Yang
[
Other Riddle games
]
Maze
DL : 0
(1)创建并打印迷宫 (2)自动寻路并演示 (3)改变迷宫难度 (4)定位光标和隐藏光标 (5)玩家控制走迷宫 (6)评分系统 (7)排序系统 (8)文件读写 (9)获取当前时间 -(1) Create and print Maze (2) automatic routing and presentation (3) the difficulty of changing the Maze (4) to position the cursor and hide the cursor (5) players control Maze (6) scoring system (7) Sequencing System (8) file read (9) to get the current time
Date
: 2025-12-25
Size
: 7kb
User
:
lin
[
Other Riddle games
]
Sudoku-Puzzle
DL : 0
八数码问题(类似于华容道),是一个有益智力的小游戏,通过空白滑块的移动来将混乱的图案恢复到有序的状态 本代码的核心算法通过fortran编写,经过matlab的制图功能进行可视化,解决了任意初始条件下的八数码问题的自动求解过程 1、matlab的exe文件在matlab文件夹中,点击打开之后出现gui图形化界面。 2、点击start按钮,程序会随机生成一个初始状态,并判断是否可解(solvable按钮显示YES即可解,NO即不可解)。 3、可解的话点击go按钮,程序开始自动运行,每0.5s运行一步,演示解的过程,完成之后会显示操作步数。 4、不可解的话重新点击start按钮,生成新的初始状态(如果此时强行点击go按钮的话会显示程序错误)。 5、如果需要再次演示,可以点击redo按钮。6、除此之外,点击timecost按钮,会显示fortran程序的运行时间。 7、fortran文件夹中包括的是大赛之前第一次提交的fortran文件,程序的注释都在其中,可以参照。 8、matlab文件夹中的sourcecode文件夹中包括的是matlab所调用的fortran程序exe文件的源代码,由于各种原因,其中没有注释,还请见谅。 9、具体的移动情况(测试算例)保存在matlab文件夹的object.txt文件中-Eight digital (similar Huarong), is a useful intellectual game by moving the slider to the blank will restore order to the chaotic state of the pattern of the core algorithm code written by fortran, after mapping function matlab visualization, eight digital solve any initial conditions automatically solving process 1, matlab matlab exe file in the folder, gui graphical interface appears after clicking Open. 2. Click on the start button, the program will generate a random initial state, and determine whether the solvability (solvable solution button to display YES, NO that is unsolvable). 3, then click on the go button solvable, the program starts running automatically run every step of 0.5s, the operation step number will be displayed during the demonstration solution, is completed. 4, unsolvable, then re-click the start button to generate a new initial state (if at this time if forced to click on the go button will display program error). 5. If you need to demonstrate again, you can c
Date
: 2025-12-25
Size
: 1.49mb
User
:
曾克成
[
Other Riddle games
]
Tetris
DL : 0
俄罗斯方块游戏设计的主要步骤为以下10个方面: (1)游戏界面的设计。 (2)俄罗斯方块的造型。 (3)俄罗斯方块的旋转。 (4)俄罗斯方块的运动情况(包括向左,向右和向下)。 (5)俄罗斯方块的自动消行功能。 (6)游戏级别的自由选择。 (7)游戏速度的自由选择。 (8)游戏得分的计算。 (9)游戏菜单选项的设计及功能实现。-Tetris game
Date
: 2025-12-25
Size
: 1.37mb
User
:
吴
[
Other Riddle games
]
game
DL : 0
1.迷宫探险;2.路线竞走游戏;3.解救人质游戏;4.商人过河游戏;5.骑士巡游 6.练习打字游戏;7.五子棋;8.推箱子游戏;9.扫雷游戏;10.打砖块游戏-1.Maze adventure;2.Route Race Walk;3.Save hostage game;4.Businessman across the river game;5.Knight parade;6.Practice typing game;7.Backgammon;8.Sokoban game;9.Demining game;10.Arkanoid game
Date
: 2025-12-25
Size
: 30kb
User
:
Skyler
«
1
2
3
»
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.