teaching machines

Honors 104.502 Lecture 9 – Shuffle Cup

February 22, 2016 by . Filed under honors gamedev, lectures, spring 2016.

Agenda

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 shells are shuffled and the player must identify which one the pea is under. We’ll call our version Shuffle Cup.

The bulk of our thinking today will be spent on animating the cups—lifting them when they are clicked on and shuffling them at the start of each round.

Code

0987e80