<< Derrick Poon >>
<< You just robbed somebodys dog and now you're on the run. The person you stole the dog from is chasing you and you go onto the wrong highway where the cars are coming at you. The car will proceed to go faster making it more difficult as if this was a real life chase and you are going faster and faster. Your goal is to avoid all these cars and make it out with the dog alive.>>
- game over screen
- Campaign
- random events
- fundraisers
- polls
class Bullet: def init(self, x, y, img_file): """ Initializes the bullet object. args: - x : int - starting x coordinate - y : int - starting y coordinate - img_file : str - path to the image file """
def move_up(self):
"""
Moves the bullet up by decreasing the y-coordinate.
args: None
return: None
"""
- << Start Button >>
- << Moving Car >>
- << Obstacle Collisions >>
- << Exit Button >>
- << Pause Button >>
- << You should have a list of each of your classes with a description >>
Step 1- Action: Go to terminal and run code with python3 main.py. Result: Pygame launches and a start button shows up so you can begin the game
Step 2- Action: Press start button. Result: Game should begin and bring you to screen on you on a highway with a yellow car that you are "driving" You should see the cars coming at you, your score on the left along with a pause button.
Step 3- Action: Use your left and right arrow keys to control car so it does not crash or hit anything. Result: Your score will go up and game speed will increase making difficulty harder.
Step 4- Action: While using your left and right arrows keys to control the car you hit a car coming at you or go off the highway. Result: The game ends and a black screen shows up saying Game Over and Thanks for Playing! It will also include an option for you to either restart the game from the beginning or exit the game
Step 5- Action: You decide to play again and hit the red restart button.
Result: It will bring you straight back to the beginning where you see the yellow car you control with the left and right arrow keys and you keep playing again.
Step 6- Action: You have to sneeze and youre scared that youre gonna lose. There is a pause button on the top left that you can click anytime to stop the game for however long you need. Result: Three red buttons show up giving you the options to either resume, restart or exit the game
Step 7- Action: You lost again and you dont want to play the game anymore. You will see the red exit button on the screen. Click on that with your mouse or trackpad. Result: The game will close properly and bring you back to the screen/application you were last on.