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
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
}
Answer:
sry im late but its outcome
Explanation:
it describes the end of the game and i got 100: