-
一个著名的游戏和# 39;的源代码。每个学习的人
一个国外很有名的游戏的源代码。大家来研究研究吧-a famous game"s source code. Everyone who studies it
- 2022-02-20 20:17:41下载
- 积分:1
-
一个很好的24点游戏源码
一个很好的24点游戏源码-a very good source of 24 point game
- 2023-04-22 08:20:03下载
- 积分: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
-
can support four players while away, can achieve a basic function
可以支持4个玩家同时走,可以实现基本功能 -can support four players while away, can achieve a basic function
- 2022-04-29 23:03:30下载
- 积分:1
-
在1~9之间的数由玩家与电脑一步选择一个,不能选择已由任务一方已选择了的数。玩家所选的任意三个数之和(只能三个数之和)为则胜利...
在1~9之间的数由玩家与电脑一步选择一个,不能选择已由任务一方已选择了的数。玩家所选的任意三个数之和(只能三个数之和)为则胜利-In the 1 ~ 9 between the player and computer from step by choosing one from the task can not choose one party has chosen a few. Players selected three the number of arbitrary and (only three and the number) for the victory
- 2022-06-29 09:52:17下载
- 积分:1
-
这是一个C语言程序!是一个用语言做的小程序小程序!
这是一个C语言程序!是一个用语言做的小程序小程序!-This is a C language program! The language used is a small program to do small programs!
- 2022-01-31 18:45:55下载
- 积分:1
-
游戏《无人永生》的源码
游戏《无人永生》的源码-Game no eternal life, the source
- 2022-05-07 00:29:12下载
- 积分:1
-
一个非常酷的c显示地球源码
一个非常酷的c显示地球源码-a very cool c show the Earth source
- 2022-10-09 05:30:03下载
- 积分:1
-
用C语言编写的钢琴程序
用C语言编写的钢琴程序-C language piano procedures
- 2022-03-21 08:59:19下载
- 积分:1
-
VC汉诺塔游戏
VC汉诺塔游戏-能很好的演示过程-HANOR game- a really good demonstration
- 2023-02-27 13:40:03下载
- 积分:1