Description: 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.
To Search:
File list (Check if you may need any files):
桌球游戏c语言.doc