文件名称:ZhouQiuYouXi-TurboC
介绍说明--下载内容均来自于网络,请自行研究使用
1.绘制一个台球案子,上面有两个台球。
2.给出控制台球位置以及运行方向的界面(自己设定)。
3.若台球碰壁,则根据镜面反射原理求出台球下一步的运动方向并作匀速直线运动。
4. 当台球发生撞击时,按照弹性碰撞原理,主撞击球改变运动方向,被撞击球开始进行匀速直线运动。
5.当台球距离孔洞距离很小时,应该让球消失,并显示进球的信息。
6.当按下某个按键时,退出台球运动程序。
-1. Draw a billiard case, the above two billiards. 2. Billiards given location and the direction of the control interface (own set). 3. If the pool hitting the wall, then find the pool under the principle of mirror reflection direction and the next movement for uniform linear motion. 4. When the crash occurred when the pool, in accordance with principles of elastic collision, hit the ball to change the main direction of motion, hit start hitting uniform linear motion. 5. Distance from the hole when the pool is very small, should allow the ball disappears and scoring information. 6. When you press a button, exit billiards sports program.
2.给出控制台球位置以及运行方向的界面(自己设定)。
3.若台球碰壁,则根据镜面反射原理求出台球下一步的运动方向并作匀速直线运动。
4. 当台球发生撞击时,按照弹性碰撞原理,主撞击球改变运动方向,被撞击球开始进行匀速直线运动。
5.当台球距离孔洞距离很小时,应该让球消失,并显示进球的信息。
6.当按下某个按键时,退出台球运动程序。
-1. Draw a billiard case, the above two billiards. 2. Billiards given location and the direction of the control interface (own set). 3. If the pool hitting the wall, then find the pool under the principle of mirror reflection direction and the next movement for uniform linear motion. 4. When the crash occurred when the pool, in accordance with principles of elastic collision, hit the ball to change the main direction of motion, hit start hitting uniform linear motion. 5. Distance from the hole when the pool is very small, should allow the ball disappears and scoring information. 6. When you press a button, exit billiards sports program.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
桌球游戏c语言.doc