Question
Matlab Software Create a basketball shooting game using GUI or guide (guide is much easier to use) in matlab. Please also provide screenshots if possible.
Matlab Software Create a basketball shooting game using GUI or guide (guide is much easier to use) in matlab. Please also provide screenshots if possible.
Requirements: At the beginning of the game the user should be asked to enter there name, and to pick a level of easy, intermediate or hard.
Easy, intermediate and hard is based on the distance of the shooting point to the basketball hoop. The height of the basketball hoop will remain constant.
The program should keep track of how many times the player scores and display this score. Whenever the player scores the phrase "Good Job" must be displayed.
The most simple way is: at first,the game will ask the user to input the angle and the velocity, and then the game will illustrate a parabola and determine if the ball will enter the basket or not.
Sample equations (may or may not use): Vx = V cos Vy = V sin + gt x = xo + Vx * t y = yo + (Vo sin)*t + 0.5gt^2
(x, y, u, v) for pionter u = 3 cos (value); v = 3 sin (value); Pointer(0.2, 0.2, u, v); xlimit ([0,10]); ylimit ([0,10]);
Sample layout of game:
THle Fun Bask l Cane Name am 2 Score Shout boston
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started