Intro. to Progr. I

“The programmers of tomorrow
are the wizards of the future.
You’re gonna look like you had magic powers
compared to everybody else”

– Gabe Newell
President and Founder, Valve Corp


What is Karel?

Karel is a little robot that lives in a grid; sometimes this grid has walls or, maybe, the cells of the grid might have stacks of one or more tokens that Karel can collect.

Karel got lost and needs to get home? He wants to pick up the strawberries from his garden? Get out of a maze? Succeed in a winter olympics event? How can he do all that when all he knows are these four measly commands:


move() # take one step forward
turn_left() # do a 90° military turn to the left
take() # take an object from the floor
put() # put on object on the floor

Well.. Karel is enthusiastic, driven, energetic and very very obedient. What he is not is smart. Fortunately, he has us who, with a little practice and patience, can make his life easier and full of joy. Thus, let’s begin to master the power to help Karel.

Levels

In each level we acquire a new ability, a new skill, that let us help Karel deal with the world. Each level takes 2 sessions of 1-1/2 hours, i.e., every two weeks we move to the next level.