CS 145 Homework 7 – due before December 14
See the PDF.
CS 145 Lecture 34 – Blackbox Objects
Agenda what ?s blackbox objects TODO No lab on Tuesday. Android demo on Wednesday. Note We’ve been through encapsulation before. At the beginning of the semester, we tucked code into reusable methods. We explored these methods through Blackboxes. We’re doing something similar with objects, but these Blackboxes have a persistent memory. Today, we’ll look at […]
CS 145 Lecture 33 – Stopwatch and Separation of Concerns
Agenda what ?s what is this? stopwatch TODO Read chapter 8 through section 8.4. Write down 2-3 questions or observations on a 1/4 sheet for Monday. Note We’ve hit upon our last major theme for the course: objects. Objects encapsulate an identity in our program, putting together that thing’s state and behaviors under one roof. […]
CS 491 Lecture 22 – Revolution Cont’d
Agenda what ?s adding a planet spawner picking up planets with a DistanceJoint2D detaching satellites Code 6acbe07 Haiku
CS 491 Lecture 21 – Revolution
Agenda what ?s Revolution TODO Watch 2D Scrolling Backgrounds. Jot down 2-3 questions, observations, or games that have memorable backgrounds on a 1/4 sheet for Friday. Note Today we launch a Revolution! The moon people across space are dizzy for all their orbiting. Your task is to destroy their host planets by picking them up in your spaceship, […]
The Thief – WEIRC
http://xiaotang923.itch.io/the-thief?secret=G0iVgzsfXrnI589pmeOPQdHiDdQ If you play now, let me know if you find any bugs/problems, so I can fix it before our demo time! 11/18/2015
CS 145 Lecture 32 – Objects
Agenda what ?s hot dog design data and code circle objects NDeckerBurgers TODO For an extra credit participation point: write on a 1/4 sheet of paper a class Raffle with a constructor and methods for adding and drawing names. Test it! Note We start our discussion today with a philosophical question. Spend a minute telling […]
CS 145 Lecture 31 – Decksercise
Agenda what ?s working with a deck of cards for-each loop Monte Carlo simulations TODO For a participation point, write a question or two to share before the quiz in tomorrow’s lab. New topics we’ve covered since the last quiz include arrays and ArrayLists. Note The theme for the day is cards. We’re going to […]
CS 491 Lecture 20 – Chain Cont’d
Agenda what ?s TODO Game Jam or work time? Code … Haiku