-
more detailed language version : http://bbs.strongd.net/viewthread.php tid = 197
更详细的语言版本:http://bbs.strongd.net/viewthread.php每日三次=197
- 2022-05-14 21:02:37下载
- 积分:1
-
贪食蛇编程要点
1、每次刷屏时需要注意无效矩形区的大小和位置,一般取整条蛇最小坐标和最大坐标组成的矩形(包括蛇的头和身体)
2、蛇全身的运行轨迹应该参照...
贪食蛇编程要点
1、每次刷屏时需要注意无效矩形区的大小和位置,一般取整条蛇最小坐标和最大坐标组成的矩形(包括蛇的头和身体)
2、蛇全身的运行轨迹应该参照蛇头的运行轨迹
3、蛇吃下东西之后身体各点的变化情况应该参照第一点的变化,即第一点发生变化之后下一时间段第二点发生变化,再下一时间段第三点发生变化,依此类推,直到最后一点发生变化结束
4、分数的计算变量:蛇吃的一般屎数量、蛇吃大屎的数量、游戏的难度级别
计算公式:(一般屎数量+大屎数量)*难度级别
5、一个问题:游戏的难度设置选项框和主窗口发生数据交换采用了两种方法,发送消息法和读写外部文件法,第三种选择就是采用全局变量,但都不是太好,有没有更合适的方式保证实现该功能的同时不致使程序显得晦涩难懂不易修改和维护-Snake programming essentials
1, each scraper requires attention invalid rectangle the size and location of the smallest snakes in general to take the whole composition of coordinates and the largest rectangular coordinates (including the snake s head and body)
2, snake body running track running track should refer to the snakeheads
3, snakes eat things that all the points after the changes in the body should have a similar change in the first point, that is the first point change in the next period of time after the changes in the second point, and then the next time a change in the third point, and so on , until the end of the last poin
- 2022-07-23 19:06:20下载
- 积分:1
-
a Java source code mine game
一个JAVA的扫雷游戏源代码-a Java source code mine game
- 2022-02-28 18:20:19下载
- 积分:1
-
用VC编的俄罗斯方块
用VC编的俄罗斯方块-VC series of Rubik"s cube
- 2022-01-25 17:29:56下载
- 积分:1
-
解决有名的皇后问题
解决有名的皇后问题-solve problems famous Statue
- 2022-02-03 02:24:55下载
- 积分:1
-
这是一个小游戏的原代码
这是一个小游戏的原代码-The source code for a small game program.
- 2022-01-25 14:01:39下载
- 积分:1
-
运用Netbeans环境,实现的J2me拼图小游戏,可以考察智力
运用Netbeans环境,实现的J2me拼图小游戏,可以考察智力-Use Netbeans environment, realize the J2me puzzle game, you can study intellectual
- 2022-10-15 11:55:03下载
- 积分:1
-
对C++初学者有很大的帮助
对C++初学者有很大的帮助-C beginners to be very helpful
- 2023-05-02 15:15:03下载
- 积分:1
-
一个纸牌游戏源程序。
一个纸牌游戏源程序。- A playing card game source program.
- 2022-05-27 17:14:33下载
- 积分:1
-
类似MMORPG的游戏的例子,用VC++编写
类似MMORPG的游戏的例子,用VC++编写-Examples for MMORPG game, using VC++ to prepare
- 2022-07-09 14:48:39下载
- 积分:1