Show the screenshot of your game interface and the animation snapshots. You may add additional functions to your program to make it funny. The program should not crash MATLAB during running (i.e., good reliability). The program should handle exceptions such as when player enters an invalid shooting angle, etc. The program should have a command for player to exit the program. The player could adjust the shooting angle in command window and command the action of shooting.The board should be randomly re-located within a range reachable by the ball for each new round.The ball should be at rest on the board for at least 0.5 second once hit. Diameter of ball is approximately one-third of the board length. Board length is of 0.5 m and located at height o horizontally. Initial velocity of ball at release is fixed at 3 m/s. Initial height of ball at release is fixed at 1.2 m. The specific design requirements are given below. Then, the board will be randomly re-located to another position for the player to attempt another round. Once the ball hits the board, the player will score one point. The game player will attempt to adjust the release angle (shooting angle) of the ball to hit a board placed at the ground. In this game, an animation should be created to display the flying trajectories of the ball shot from a fixed initial height and fixed initial velocity at release. You will design a game interface in a MATLAB program named HDTask1.m.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |