Description: 魔方源码 --- Windows下的魔方游戏源代码,用OpenGL开发-Cube Windows source code-- the Cube game source code developed using OpenGL Platform: |
Size: 861184 |
Author:raiden |
Hits:
Description: 3D CUBE MAGIC源代码,玩家通过程序上的按钮来旋转魔方,直到各面同色,有打乱功能。用的是OpenGL,VC6编译即可-3D CUBE MAGIC source code, the player through the procedural Cube button to rotate, until the surface the same color, it disrupted the function. Using OpenGL, VC6 compiler can Platform: |
Size: 124928 |
Author:一招鲜 |
Hits:
Description: 此源码是在VC++6.0的环境下,编写的一个关于魔方算法,可以实现在随机打乱的情况下还原魔方的初始状态-This source is the environment in vc++ 6.0, the compilation about a rubik s cube algorithm, can realize the cases in random disturb the initial condition rubik s cube reduction Platform: |
Size: 91136 |
Author:张旭东 |
Hits:
Description: 打印魔方的源代码。随机输入数字,然后显示相应的魔方块。-Print the source code of the Rubik' s Cube. Random input numbers, and then display the magic box. Platform: |
Size: 1024 |
Author:wu_gui |
Hits:
Description: 求解任意阶魔方的变换的matlab程序源代码。-Solving the Rubik' s cube of any order transform matlab program source code. Platform: |
Size: 1024 |
Author:高珊 |
Hits:
Description: 《洛书》增强版算法解密
包括偶数阶、双偶数阶、单偶数阶等各类魔方(幻方)的生成算法源码。
其中单偶数阶最难:
单偶数魔方,n为偶数,且不能被4整除(n=6,10,14,18,22……)(n=4k+2,k=1,2,3,4,5……)。这是奇数阶魔方,双偶数阶魔方,单偶数阶魔方三种魔方里面最复杂的魔方。
以n=10为例,这时k=2。
(1)把方阵从左到右,从上到下分成A,B,C,D四个象限,这样每个象限肯定是奇数阶,用罗伯法,依次在A,D,B,C象限按奇数阶魔方的填法填数。
(2)在A象限的中间行中间列开始,按自左向右的方向标出k列,A象限的其他行则标出最左边的k列,将这些标出的数和C象限相同位置上的数互换位置。
(3)在B象限任意一行的中间列,自左向右标出k-1列,将这些标出的数和D象限相同位置上的数互换位置。魔方完成。-" Luo Shu" decryption algorithm enhancements include even order, double even order, even order, and other single cube (magic square) generation algorithm source code. Wherein the single most difficult to even order: single even Cube, n is an even number, and can not be divisible by 4 (n = 6,10,14,18,22 ......) (n = 4k+2, k = 1,2,3,4, 5 ......). This is the odd-order cube, double even order cube, Rubik three kinds of even order single most complex Rubik cube inside. Case with n = 10, then k = 2. (1) the square left to right, top to bottom is divided into A, B, C, D four quadrants, and each quadrant is certainly odd order, with Rob law, followed by the A, D, B, C quadrant press Rubik' s odd order number fill fill method. (2) A quadrant in the middle of the middle row of columns, beginning with the left-right directions marked k columns, other rows A quadrant is marked k leftmost column, the same number and location of these marked C quadrant Number of swap positions. (3) in Platform: |
Size: 2048 |
Author:zngsai |
Hits:
Description: 这是一个3D魔方游戏的C源码,仅提供参考-This is a 3d rubik s cube game C source code, only to provide the reference...
Platform: |
Size: 144384 |
Author:林云 |
Hits: