DUE: A-Day FRI 2/14 and B-DAY 2/24
Now that we are Python experts, we are going to try our hand at creating a game!
- Go to https://trinket.io/
- Make an account using you Wheeler Gmail or Wheeler Magnet Gmail so that your password is saved and you can always log in. You can use repl.it for this as well, but the graphics are not as good and it has trouble with some of the commands.
- Once you have an account click on your name > "New Trinket" button > select Pygame as your language. This is still Python, but has some of the game options built in so it runs better. **The downside to this is that you cannot save code! At the end of each day, you must copy all code and paste into a Google Doc so you can start where you left off the next day**
- Go to the link below which will take you to a Google Drive folder with videos in it. These videos will walk you through how to create a simple Turtle game in Python. Watch the videos and create your game along with the tutorials. As you go, build in the following changes to your code:
Turtle Graphics Videos (click on the link)
a. Background color must be different than the video.
b. The turtle that is collecting the objects needs to have a "costume"
c. Background size must be 600 X 600 and border should be -275 X 275
d. There are several If statements that don't have else statements. Add an else statement to at least one If to improve the game.
e. Sound for collecting objects needs to be included
f. Score must display on the screen, not the console/terminal
g. Add something else to the game for more difficulty (maybe an enemy or several enemies, maybe if you hit a wall something happens, etc.)
5. When your game is complete, allow me (Mrs. Brown) to come and play your game to test that it works AND SAVE FINAL SOURCE CODE AND SUBMIT TO GOOGLE CLASSROOM. (30pts for working game)
E-Portfolio Due: A-Day and B-Day 2/28
You need to answer the following questions in your E-Portfolio. Make sure to include screenshots of your image when necessary!
- Explain what an abstraction in coding is (use the Create rubric for examples)
- Explain what algorithms are and why they are important to coding.
- Identify the purpose of this program-- include the overall goal of the game.
- Screenshot a program code segment that contains an abstraction and draw a rectangle around the text where the abstraction is located. This abstraction MUST contain logic (if/else statements) or math. Explain how this abstraction helps manage the complexity of this program.
- Screenshot a program code segment that contains one algorithm and draw an oval around the text. This algorithm MUST contain logic (if/else statements) or math. Explain how this algorithm functions and it's role in the game as a whole.
Mock Create Task with earsketch
For the Mock Create task, you will be creating your own original composition through EarSketch and answering the Create prompts. Follow the steps below to walk you through how EarSketch works and to ensure that you are including all the requirements for this project.
- Before we begin this in class, you must go through the short tutorials in EarSketch to familiarize yourself with the platform and what you will be doing. Complete this Google Form as you work through the information and turn in by Feb 27 at 8PM (A-Day) and Feb 28 at 8 PM (B-Day)