Buggy Game Activity
Directions: When designing games and apps, computer programmers often come across bugs, or problems, in their code. You have probably come across this a few times in your own work. There are four programs that we would like you to look at, test to see if it works, and fix any issues that you come across. Use the following table to record your what problem you find, ways you tried to fix it, and how you actually fixed it.
This is the Math Quiz game! When the green flag is clicked, the game should start.
The player is asked a series of math questions that can be addition, subtraction or multiplication.
There are two ways the game can end:
This game begins automatically when it is opened. The game can also be started by pressing the green flag.
The player is able to control the black rectangle, or paddle, with her right and left arrow keys. When the right arrow key is pressed, the paddle should go right. When the left arrow key is pressed, the paddle should go left.
The goal of the game is to score as many points as possible, without losing any lives. To score points, the ball must hit the top of the game. When this occurs, the score will updated by 1 point.
The game ends when the player as 0 lives left.
This is an app that allows users to draw concentric circles. The game should start when the green flag is clicked.
The player is asked, "How many circles should I draw?". The player types in a number, and the app draws that amount of circles. The app should begin with the first, and largest, circle. The next circle should then be drawn slightly smaller, and inside the first circle.
The player will need to press the green flag to reset the game.