Difference between revisions of "Computer Science"
From WLCS
Line 1: | Line 1: | ||
+ | == Friday (10/5/12) == | ||
+ | '''Agenda:''' | ||
+ | * Back to School Night recap | ||
+ | * Student release forms | ||
+ | * Demo [[Item collection game]] | ||
+ | * Try adding extra game features into your game | ||
+ | |||
== Monday - Wednesday (10/1/12 - 10/3/12) == | == Monday - Wednesday (10/1/12 - 10/3/12) == | ||
+ | '''Agenda:''' | ||
* Complete the [[Item collection game]] | * Complete the [[Item collection game]] | ||
* [[Item collection game]] is due Friday (10/5/12) | * [[Item collection game]] is due Friday (10/5/12) |
Revision as of 08:13, 5 October 2012
Contents
Friday (10/5/12)
Agenda:
- Back to School Night recap
- Student release forms
- Demo Item collection game
- Try adding extra game features into your game
Monday - Wednesday (10/1/12 - 10/3/12)
Agenda:
- Complete the Item collection game
- Item collection game is due Friday (10/5/12)
Thursday (9/27/12)
Warmup:
- Open TextEdit or MS Word
- With a partner, come up with a list of as many game features as you can
- E.g. Lives, hit points, etc.
Agenda:
- Demo Frogger Game
- Make sure you have accomplished all the tasks in the Frogger Game
- If you are done with basic Frogger, then try implementing the following advanced features:
- The enemy sprites constantly change costume back and forth (makes it look like they're moving)
- Health/Lives power-up (when picked up, you get a new life)
- Increasingly difficult levels
- Begin working on Item collection game
Tuesday (9/25/12)
Agenda:
- Basic Frogger Game
- Give your game a simple background
- Have your stage play some background music
- You will need several sprites.
- 1 player sprite will be the player and it will cross the screen by using the keyboard.
- 3-5 enemy sprites will be used to move back and forth horizontally or vertically across the screen (the number depends on how big you make them)
- When you play your game, you want to cross the entire screen without hitting the enemy sprites.
- Start the player off with 3 lives (HINT: use a variable)
- If you hit any of the enemy sprites:
- Subtract one life away
- Play a sound effect of getting hit
- Say "Ouch!"
- Move the player back to its starting location
- If lives hits 0, then say "Game Over" and end the game
- Play a sound effect for the "Game Over"
- If the player reaches the other side of the screen, then say "You win!"
- Play a sound effect for winning
- Hint: You can use all sorts of different ways to detect how you hit the other side of the screen
- Create a long sprite that you detect hitting OR...
- Check the y-coordinate of the sprite and if it is greater than the upper bound of the screen
Friday (9/21/12)
Warmup:
- Create a Scratch program that has a ball that bounces around on the screen
Agenda:
- Complete your Animations and Evaluations
- Introduction to Basic Game Programming
- Start game
- Run forever (game loop)
- Include rules in your game loop
- Do the above for every sprite
- Introduction to Conditionals
- Booleans - things that are True or False
- if statement blocks
- if-else statement blocks
- Introduction to Variables
- Avoidance Game Example
- Add a background to the example
- Change the sprites
- Add a lives variable that starts at 10 when you start the game
- If the player touches the ball, then decrease lives by 1
- Add another if that checks if lives is equal to 0
- If so, say Game Over and end the game (stop all scripts)
- Begin work on your Basic Frogger Game
- Give your game a simple background
- Have your stage play some background music
- You will need several sprites.
- 1 player sprite will be the player and it will cross the screen by using the keyboard.
- 3-5 enemy sprites will be used to move back and forth horizontally or vertically across the screen (the number depends on how big you make them)
- When you play your game, you want to cross the entire screen without hitting the enemy sprites.
- Start the player off with 3 lives (HINT: use a variable)
- If you hit any of the enemy sprites:
- Subtract one life away
- Play a sound effect of getting hit
- Say "Ouch!"
- Move the player back to its starting location
- If lives hits 0, then say "Game Over" and end the game
- Play a sound effect for the "Game Over"
- If the player reaches the other side of the screen, then say "You win!"
- Play a sound effect for winning
- Hint: You can use all sorts of different ways to detect how you hit the other side of the screen
- Create a long sprite that you detect hitting OR...
- Check the y-coordinate of the sprite and if it is greater than the upper bound of the screen
Wednesday (9/19/12)
Agenda:
- CSTA Survey
- Animation Evaluations
- Bring up your animation and make sure it plays with a single-click of the green flag.
- Receive an evaluation sheet from Mr. Bui
- Be sure to put your name at the top. As we go around evaluating each others' animations, leave your evaluation sheet sitting at your computer.
- At the gong, go to another computer and play the animation
- Complete an evaluation on the original author's evaluation sheet. Be sure you write your name on the author's evaluation sheet.
- There will be a gong every 5 minutes
- At the end of class, your computer should have 3 evaluations by other people.
- More Control Blocks
- Repeat X times
- Forever block
- Bouncing sprites animation
- Your Scratch program should have at least 5 different sprites
- When the program starts, each sprite should point in a random direction
- Each sprite should then continuously move around, bouncing off the edges
- Try out some different things like pen actions and color changes
Monday (9/17/12)
Agenda:
- Scratch Review
- Broadcast and When I Receive blocks
- Complete your Sprite Animations
- Create an animation that retells a movie/story in simplified terms. In your animation, you must employ the following:
- Background image
- Sprites that move around
- Sprites that change costume
- Sprites and say/think
- A graphic or size effect being applied to sprites
- A sound should be played
- We will demo the animations to each other next class
Thursday (9/13/12)
Warmup:
- Bring up your Scratch - Moving and Drawing Assignment
- Make sure you have completed and demonstrated it to Mr. Bui
Agenda:
- Key pressing
- Sounds (you will need to use headphones for this unit!)
- Downloading a sound (e.g. Mario sound clips)
- Record your own sound
- Playing sounds in Scratch
- Complete and demo Scratch - Sound Board Assignment
- Sprite Looks
- Changing costumes
- Saying and Thinking
- Graphics and Size effects
- Wait command
- Sprite Look Practice - Create an animation that retells a movie/story in simplified terms. In your animation, you must employ the following:
- Background image
- Sprites that move around
- Sprites that change costume
- Sprites and say/think
- A graphic or size effect being applied to sprites
- A sound should be played
Tuesday (9/11/12)
Warmup:
- Use Google Image Search to find a school-appropriate image that you would like to use as a sprite. Don't worry if you need to crop (cut out the image.)
Agenda:
- Introduction to Scratch
- Sprites and costumes
- Basic movement
- Pen
- Complete and demo Scratch - Moving and Drawing Assignment
Friday (9/7/12)
Warmup:
- Bring up your responses from the "Defining computer science" activity at the end of last class
- Review your responses
- Define the term: "to compute" or "computation" in your "Defining computer science" google doc
- Now, try to define the term "computer science"
Agenda:
- "What is computer science?" discussion
- Different fields in computer science
- How do we solve problems?
- Share sandwich stories
- What lessons/problems did we run into?
- What does programming mean?
- Introduction to Scratch
- Sprites (costumes and direction)
- Basic movement
- Pen
- Scratch - Moving and Drawing Assignment
Homework:
- Signed syllabus sheet due by the end of next week (9/16/11). You may turn it in anytime before then.
Wednesday (9/5/12)
Warmup:
- If you have not done so, complete the Student Survey
Agenda:
- Misc logistics
- 20/10 no pass policy
- Location of bathrooms
- Sign in/out sheets
- Introductions
- Computer Science I Syllabus
- IT Resources for Students (UserID: StudentID# and Password: Birthday)
- Google Apps - http://www.apsva.us/google
- Dropbox - http://www.dropbox.com
- etc.
- Defining computer science:
- Write your name the top of the Google Doc
- List people/things/systems that use computers (e.g. air traffic control)
- For each of the above people/things/systems, write down the information/data that they use (e.g. flight information)
- List things you have done in any science class
- Define the term: "to compute" or "computation"
- Share the document with
Homework:
- Signed syllabus sheet due by the end of next week (9/14/11). You may turn it in anytime before then.
Tuesday (9/4/12)
- Introductions
- Name cards
- Lab setup/config
- Login username is your first initial and lastname (e.g. pbui)
- Your password is your student ID number
- Go to Apple (upper left) -> System Preferences -> Accounts -> Change Password
- Acceptable-use policies apply in this lab!
- Complete the Student Surveys