A card-matching game and set game from CS193P at Stanford