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]
2 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]2 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]2 years ago
5 0

Answer:

you can give the other person brainly

Explanation:

You might be interested in
3.26 LAB: Leap Year A year in the modern Gregorian Calendar consists of 365 days. In reality, the earth takes longer to rotate a
Tju [1.3M]

Answer:

year = int(input("Enter a year: "))

if (year % 4) == 0:

  if (year % 100) == 0:

      if (year % 400) == 0:

          print(str(year) + " - leap year")

      else:

          print(str(year) +" - not a leap year")

  else:

      print(str(year) + " - leap year")

else:

  print(str(year) + "- not a leap year")

Explanation:

*The code is in Python.

Ask the user to enter a year

Check if the <u>year mod 4</u> is 0 or not. If it is not 0, then the year is not a leap year. If it is 0 and if the <u>year mod 100</u> is not 0, then the year is a leap year. If the <u>year mod 100</u> is 0, also check if the <u>year mod 400</u> is 0 or not. If it is 0, then the year is a leap year. Otherwise, the year is not a leap year.

8 0
3 years ago
Read 2 more answers
Someone hacked into an employee's computer and erased all of their data. All data for the past three weeks was lost as that was
hichkok12 [17]

WWW/ World Wide Web.

7 0
3 years ago
Write a function PrintShampooInstructions(), with int parameter numCycles, and void return type. If numCycles is less than 1, pr
Finger [1]

Answer:

public static void PrintShampooInstructions(int numberOfCycles){

       if (numberOfCycles<1){

           System.out.println("Too Few");

       }

       else if(numberOfCycles>4){

           System.out.println("Too many");

       }

       else

           for(int i = 1; i<=numberOfCycles; i++){

               System.out.println(i +": Lather and rinse");

           }

       System.out.println("Done");

   }

Explanation:

I have used Java Programming language to solve this

Use if...elseif and else statement to determine and print "Too Few" or "Too Many".

If within range use a for loop to print the number of times

8 0
2 years ago
Read 2 more answers
In database software, which option is the most appropriate menu choice or command to use if you want to change the format of the
sleet_krkn [62]

Answer:

I think it's d

Explanation:

             

4 0
2 years ago
Name five different windows password policies.
rodikova [14]

The five different windows password policies are:

1. Enforce password history.

2. Minimum password length.

3. Minimum password age.

4. Maximum password age.

5. Password must meet complexity requirements. (contain symbols, numbers, letters,...) 

6 0
3 years ago
Other questions:
  • The identification of critical information is a key part of the OPSEC process because: a) It is required by the JTF commander to
    13·1 answer
  • (50 points) Write a program arrays1.cthat checks if two integer arrays are different by one and only one elementwhen compared el
    5·1 answer
  • When you move a paragraph in a document that includes text with a footnote, what happens to the footnote reference?
    7·2 answers
  • Which of the following is true of how packets are sent through the internet?
    10·2 answers
  • Explain the functions of a VDU?
    6·1 answer
  • which statement is true? O A Future games will be more context oriented. OB. Future games will be more product driven. Future ga
    13·2 answers
  • Which of the following describes the line spacing feature? Select all that apply. adds space between words adds space between li
    8·1 answer
  • Search the link <br><br> gKuJXd3zYDc<br><br> Subscribe I have a vid premiering soon
    11·1 answer
  • Why is it now difficult for computer technology to maintain the pace of
    12·1 answer
  • Imagine an everyday scenario in which you are using the internet: downloading a file, uploading a photo, checking your email, et
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!