196k views
1 vote
Armando is trying to decide how he will alert players that the game is over in the new video game that he is designing. He is considering showing a message that says “Game Over” or perhaps showing a scoreboard at the end. Which of the four elements is Armando working on in his GDD? operation obstacles outcome objective PLZZZZZZZZZZZZZZ HURFRY MT TEST IS TIMED

User Entercaspa
by
8.1k points

2 Answers

5 votes

Answer:

if(x + dx > canvas.width-ballRadius || x + dx < ballRadius) {

dx = -dx;

}

if(y + dy > canvas.height-ballRadius || y + dy < ballRadius) {

dy = -dy;

}

var interval = setInterval(draw, 10);

if(y + dy < ballRadius) {

dy = -dy;

} else if(y + dy > canvas.height-ballRadius) {

alert("GAME OVER");

document.location.reload();

clearInterval(interval); // Needed for Chrome to end game

}

User Paul Rambags
by
9.2k points
5 votes

Answer:

sry im late but its outcome

Step-by-step explanation:

it describes the end of the game and i got 100:

Armando is trying to decide how he will alert players that the game is over in the-example-1
User Andy Tolbert
by
8.5k points