QUESTION: Create a game where the user tries to guess a 2D location in a grid based on feedback from the the computer in
Posted: Mon May 02, 2022 12:41 pm
QUESTION: Create a game where the user tries to guess a 2D
location in a grid based on feedback from the the computer in terms
of information like “you’re getting closer” or “you’re getting
further away”.
In this project you have to develop an application that:
To pass, the code that you use to produce that application
must use a combination of at least:
PLEASE INCLUDE COMMENTS IN THE CODE WHICH EXPLAIN AND DEFINE THE
SECTION TO HELP ME UNDERSTAND WHAT YOU'RE DOING. TIA
EDIT: Create this game using MATLAB. Not sure how to move in
the matrix. I was thinking that the users guess the
coordinates and somewhere in the code use the distance between two
points formula and if their guess is greater than this distance,
say "further" or "closer" if smaller. Not too sure on the
details.
location in a grid based on feedback from the the computer in terms
of information like “you’re getting closer” or “you’re getting
further away”.
In this project you have to develop an application that:
To pass, the code that you use to produce that application
must use a combination of at least:
PLEASE INCLUDE COMMENTS IN THE CODE WHICH EXPLAIN AND DEFINE THE
SECTION TO HELP ME UNDERSTAND WHAT YOU'RE DOING. TIA
EDIT: Create this game using MATLAB. Not sure how to move in
the matrix. I was thinking that the users guess the
coordinates and somewhere in the code use the distance between two
points formula and if their guess is greater than this distance,
say "further" or "closer" if smaller. Not too sure on the
details.