1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Inessa [10]
3 years ago
12

On Edge; this assignment has been overdue for like three weeks because I DO NOT understand what to do, if you could help me that

would me AMAZING, thanks <3 (If you need a link I could post it)
Let’s get to debugging! The program you’re about to look at is supposed to be a simple game where the ninja has to rescue the good monsters (in blue) while avoiding being touched by the bad monsters (in red). The ninja receives points whenever a good monster is touched, and points are taken away whenever a bad monster is touched. You can use the up, down, left, and right arrows to make the ninja move toward the good monsters accordingly


Try playing the game and be observant about what isn’t happening the way you thought it would.

There are two bugs in the program. Your job is to identify the problem blocks of code and fix them. Use the following steps.

Identify the problem blocks. You will have to click on the different actors in the game to see their code.

Attempt to fix the problem code blocks. Check your fix by running the game again. Take screenshots of your code.

Describe the problem in the program and how you attempted to fix it, including whether you were successful.

Submit your screenshots and descriptions of how to fix the bugs.
Computers and Technology
2 answers:
STatiana [176]3 years ago
7 0

Answer:

There were several problems with the code:

- When pressing arrow left, the ninja was moving to the right.

- The ninja could be moved off the screen and then is lost

- When changing the direction, the ninja didn't change its appearance

Explanation:

See screenshot for changes. 10 was changed to -10, and I added checks to see if the ninja is at the edge of the screen.

anastassius [24]3 years ago
5 0

Answer:

you can give the other person brainly

Explanation:

You might be interested in
Write a program that declares and initializes a variable representing the weight in milligrams from the keyboard. The program di
Burka [1]

Answer:

weight = int(input("Enter weight in milligrams: "))

kilograms = int(weight / 1000000)

grams = int((weight - (kilograms * 1000000)) / 1000)

milligrams = weight - ((kilograms * 1000000) + (grams * 1000))

print("{} milligrams are equivalent to {} kilogram(s), {} gram(s), and {} milligram(s)".format(weight, kilograms, grams, milligrams))

Explanation:

*The code is in Python.

Ask the user to enter the weight and set it to the variable weight

Calculate the kilograms, divide the weight by 1000000 and cast the result to the int (If the weight is 1050042, kilograms would be 1050042/1000000 = 1)

Calculate the grams, subtract the kilograms from the weight, divide it by 1000 and cast the result to the int (If the weight is 1050042, grams would be int((1050042 - (1 * 1000000)) / 1000) = 50)

Calculate the milligrams, subtract the kilograms and grams from the weight (If the weight is 1050042, milligrams would be 1050042 - ((1 * 1000000) + (50 * 1000)) = 42)

Print the weight, kilograms, grams, and milligrams in the required format

3 0
3 years ago
Which option should Gina click to edit the text contained in a text box on a slide in her presentation?
topjm [15]
Text box
hope this helped
3 0
2 years ago
The ______ is the information center that drivers need to refer to when they're NOT scanning the road.
Kruka [31]

Answer:

The  DIC (Driver Information Center)  is the information center

Explanation:

Scanning the road means that the road has to looked and analyzed for traffic jams, the cars that are coming close together and how fast the driver is driving etc, to keep ourselves safe from accidents.

If the driver is not scanning the road, then DIC will help the driver to find lots of useful information which keeps himself as well as the peer drivers on the road safe and thus avoiding accidents where by saving lives and heavy injury.

DIC will have Traffic details, navigation, entertainments, traffic signs, etc.

8 0
3 years ago
A very simple device that connects network components and sends packets of data to all other connected devices is called a _____
Nadusha1986 [10]
A. hub

I can't think of a good reason to use a hub anymore, I always use a switch instead.
3 0
3 years ago
A train schedule is an everyday, real-life example of an array. Identify at least four more.
lozanna [386]

Answer:

  1. The salary schedule of employees in a company.
  2. The loan payback schedule.
  3. The grading scale of the professor.
  4. The tax table.

Explanation:

An array is a linear data structure.It stores the elements of similar data type.It provides the element and index because of which it is easy to access the array elements if you know the index.Some of the real life examples of arrays are as following:-

  1. The salary schedule of employees in a company.
  2. The loan payback schedule.
  3. The grading scale of the professor.
  4. The tax table.
7 0
3 years ago
Other questions:
  • To help determine which technology to use, Raul creates a table to help him compare the pros and cons of his choices. What part
    15·1 answer
  • Where do deleted files go?
    7·2 answers
  • Distributed computing is a term that describes the work that autonomous computers can do to achieve a common goal, especially in
    10·1 answer
  • Which of the following is not a true statement? a. Data flow diagrams and flowcharts are difficult to prepare and revise using s
    10·1 answer
  • Is a tv a
    6·1 answer
  • Multitasking systems _____.
    8·1 answer
  • What is another name for control structure <br> Object<br> Sequence<br> Loop<br> Decision
    8·1 answer
  • Match each item with a statement below. - Uses two keys: one to encrypt data and one to decrypt data - Encryption algorithm used
    9·1 answer
  • Who does online school on FLVS???????????????????
    9·2 answers
  • Write a short essay about the best rotary-wing aircraft ever. It must be a specific aircraft and consist of three paragraphs. In
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!