press space to make him talk, click him to make him move, and press the up arrow to make things appear.
It's kinda bad, but ask your teacher for more info if you want to learn more. :)