CS 145 Lecture 27 – Array Exercises
Agenda what ?s array bingo making digital music TODO Read chapter 7 through section 7.2. Write down 2-3 questions, observations, and sightings of arrays in real life on a 1/4 sheet turned in at the beginning of next lecture. Note In case you haven’t noticed yet, we don’t just jump from new topic to new topic […]
CS 145 Lecture 26 – Birthdays
Agenda what ?s loop until fixed repeated birthdays TODO For an extra credit participation point, check out tryruby.org and work through at least level 5. Write down 2-3 questions, observations, or comparisons to Java or other languages you know. Note Today we introduce an idiom we can use to support a “try again” when an exception happens. […]
CS 491 Lecture 17 – Arcade Review
Agenda what ?s arcade review TODO Start your platformer. Due before December. Review Today we’re going to playtest your arcade games! Jeremy Gibson advocates these points when doing informal playtesting: Don’t tell the player too much. You want to discover what’s obvious and what’s obscure. Don’t argue or make excuses. If your testers think something is […]
CS 145 Lecture 25 – Computer as Factory Worker
Agenda what ?s a siblings histogram arrays counting repeated birthdays TODO Start homework 5, which is due before November 13. It uses the ideas we discuss today. Prepare a question or two to share before tomorrow’s quiz. New topics we’ve covered since the last quiz include loops and conditional statements. Worth a participation point. Note […]
CS 145 Lecture 24 – Accumulation
Agenda what ?s accumulation pattern Note We continue our discussion of common patterns we see with loops. Today we visit the accumulation pattern, where a loop iterates through a collection and accumulates values in some variable of larger scope. Accumulations tend to look like this: initialize soFar for each item integrate item into soFar end use […]
CS 491 Lecture 16 – Walking and Jumping
Agenda what ?s walking animation state transitions via parameters jumping TODO Finish those arcade games! Code 68f0ece Haiku
CS 145 Lecture 23 – Optimization and Accumulation
Agenda what ?s loop patterns: optimization accumulation TODO Read chapter 5 in your book. You’ve already read section 5.3. Write down 2-3 questions or observations on a 1/4 sheet for Friday. Note Today we continue our discussion of loop patterns. Last time we look at the pervasive loop and a half. Now we look at the […]
CS 491 Lecture 15 – Animations
Agenda what ?s coherent this animations via… sprite frames Unity animation editor TODO Watch Player and Enemy Animations, Player Animator, and maybe Animate Anything from the Unity tutorials. I usually play these at double speed. Write down 2-3 questions/observations on a 1/4 sheet for Friday. Coherent This You’re developing a game with a message. But it’s still a game, […]
CS 145 Lecture 22 – Loop-and-a-half
Agenda what ?s what does this do? looping patterns: loop and a half accumulation selection TODO Let’s not have lab tomorrow. This was anticipated! Quiz 4 is and has been scheduled for next week. For Wednesday, complete some loop questions on CodingBat, sections String-2 or String-3, or Practice-It!, section BJP3 Chapter 5. Note Loops add a […]
CS 145 Lecture 21 – Working with Images
I’m at conference in Atlanta this week, so we will not have our regular lecture on Wednesday and Friday. However, to help you complete homework 4 and see for loops in action, I’ve recorded a few videos that manipulate images in various ways. Flipping Swapping Colors Gradient Splitting