CS 145 Lecture 8 – Computer as Chef

Agenda what ?s encapsulation methods elsewhere (PureData, Madeup) methods in Java TODO Read section 1.4 and chapter 3 through section 3.1. Write 2-3 questions observations down on a 1/4 sheet. Code Circler.java Haiku

Puzzler: Balance

CS 491 Lab 2 – Breakout

First, if you have checkpoints left over from last lab, get them inspected during the first 15 minutes of this lab. No credit will be awarded past these 15 minutes. Breakout Breakout is a metaphor for email: every time you send a message, another comes back to you. After a while, lots of conversations are […]

CS 145 Lab 2 – Scanner and String

First, if you have checkpoints left over from last lab, get them inspected during the first 15 minutes of this lab. No credit will be awarded past these 15 minutes. Don’t forget to work in pairs! Please work with someone that you did not work with last week. Objective As we write code to operate […]

CS 145 Lecture 7 – String Methods

Agenda what ?s right and wrong the String model String problems TODO Finish homework 1. Dealing with setup issues, computer failures, and life’s troubles is part of homework. Only code submitted to Bitbucket will be graded. Note Writing code is much more enjoyable when you start to recognize the patterns that govern its structure. So, […]

CS 491 Lecture 6 – Smoothing and Projectiles

Agenda what ?s smoothing user input projectiles dynamic parenting throttling fires expiring TODO Find a couple of resources on creating pixel art. Make something(s)! Print it off along with a list of the resources you consulted for next Wednesday’s 1/4 sheet. Code SmoothingDemo.java Haiku

CS 145 Lecture 6 – Scanner and String

Agenda what ?s primitives and objects Scanner String problems TODO Watch the first video here: https://www.youcubed.org/boosting-messages-from-how-to-learn-math-for-students. This video is taken from an online course on math learning, but you can very validly swap out every reference to “math” with “computer science.” No 1/4 sheet, but watch it anyway. Recall that homework 1 is due before […]

CS 491 Lecture 5 – Rator Vaders

Agenda what ?s multisprites AD movement projectiles Design This You must entertain a niece or nephew for the next half-hour. You have an egg carton, a pocketful of change, some paperclips, and a d12. Design a game to play. Code 7e04c5d Haiku

CS 145 Lecture 5 – More on the Math Class

Agenda what ?s quiz tomorrow blackboxes more math problems switching between types TODO Tomorrow in lab is our first quiz. Prepare a question (or two or three, in case yours gets nabbed by someone else) to share with your lab group before the quiz. Topics we’ve hit upon so far include: the arithmetic operators, variables, […]

CS 491 Lab 1 – War

War The card game War is one of the saddest games ever invented. If you aren’t familiar with the game, ask your teammates. It is a 0-player game. It allows no strategy; it only needs two humans to move cards around. The winner is chosen at random, but death is dealt slowly to the loser. Let’s […]