Honors 104.502 Lecture 10 – Shuffle Cup Cont’d
Agenda what ?s swapping cups modeling parabolic motion shuffling cups TODO Friday lab will be a clinic and upload test. Bring your Puzzler issues! Note Last time we started Shuffle Cup and used coroutines to stage a mostly manual animation of lifting cups. We introduced the Lerp function to linearly transition between two stations. Today we […]
CS 330 Lecture 14 – Assembly
Agenda what ?s Human Resource Machine hello, x86 adding two globals printing getting user input counting TODO Read Programming from the Ground Up, from chapter 1 through section Planning the Program of chapter 3. Click on Download Area to find the PDF. Write down 2-3 questions or observations on a 1/4 sheet. Note Now that we’ve […]
CS 491 Lecture 9 – HUD and Camera Tricks
TODO Watch Cameras and Using Cameras from the Unity tutorials. On a 1/4 sheet, write down 2-3 questions or observations about cameras, UIs, or other relevant topics. Lab Terrain and FPS Quickly create a scene with a terrain and an FPSController. Don’t spend any time on this. Polish is for later. Collectibles We want to […]
Honors 104.502 Lecture 9 – Shuffle Cup
Agenda what ?s mouse click raycasting linear interpolation (lerp) shuffling cups Note Today we start building a new game inspired by your paper tile demos last week. It goes by many names (Thimblerig is the best), but it’s a classic shell game. A pea (or ball) is hidden under one of three nutshells (or cups). The […]
CS 330 Lecture 13 – Functions
Agenda what ?s adding functions to Logo scope choices closures in other languages TODO For an extra credit quarter sheet, write a Logo program. Clone the repository of our code in Eclipse, run Interpreter, and feed it a file containing a Logo program. Share your program on Piazza. Note Today we will round out our […]
Honors 104.502 Lab 4 – Lights Out
In this lab we’ll explore mechanisms for handling mouse clicks, staging multiple levels, and working with 2D grids of game objects. But first, if you didn’t get your work from last lab checked off, do so in the first 15 minutes of this lab. Checkpoint 1 Person A types. Bulb Image Lights Out is played on […]
CS 330 Lecture 12 – ASTs and Variables
Agenda what ?s AST generation expressions statements move and turn variables TODO Start the CSX homework. Due before March 11. Pull from both twodee and origin to get updates. Note Today we’ll got Logo programs up and running. We’ll generate a full AST representation of program and execute it instead of eagerly evaluating a construct as […]
Honors 104.502 Lecture 8 – Co-o-no Cont’d
Agenda what ?s co-o-no hide previous round co/no buttons feedback message TODO Read chapters 5 and 6. On a 1/4 sheet, write down 2-3 questions or observations. Under what circumstances do ideas come to you? Note Today we’ll wrap up Co-o-no, adding Co and No buttons and moving through a cycle of shown and hidden states. […]
CS 330 Lecture 11 – Abstract Syntax Trees
Agenda what ?s math problem a Logo grammar translating to an AST TODO Watch Aiken’s lectures 24 and 25 on abstract syntax trees and recursive descent parsing. On a 1/4 sheet, summarize your results from searching for reasons why many languages use semi-colons as statement terminators and parentheses around actual parameter lists. Note We’re about to write […]
CS 330 Homework – CSX – due before March 11
See the PDF.