Sunday 17 August 2014

Python (Minecraft-Pi) Workshop

2014 August 12-13


This two-day workshop was for students with some prior programming experience who wanted to learn some Python.
There were three attendees, aged 11, 15 and 16. Two were bilingual in Japanese and English, and the third was learning English. All had programmed in Scratch before and one had some experience with Mindstorms. This was the first time any of them had typed code to create programs!

We used Raspberry Pis with Minecraft-pi, and the Geany editor for programming in Python.

Day One:

  1. Python basics: editor, running programs, input and output to console and easygui
  2. For and while loops, if..elif..else. 
  3. Introduction to Minecraft Python 

Day Two:

  1. Functions. 
  2. Lists.
  3. Project work
  4. Presentation of work to parents
Files used for teaching are here:


We were visited on the second day by Prof. Inoue of Hiroshima City University (professor of computer science)

We made some short stop-motion clips of the projects. None of the building was done manually in Minecraft. itself. Everything was built by the Python programs.

https://drive.google.com/file/d/0B_YN1DuZcfFHMmJBR3VETTNEalU/edit?usp=sharing
https://drive.google.com/file/d/0B_YN1DuZcfFHV0dDbVlPSUs1cVk/edit?usp=sharing
https://drive.google.com/file/d/0B_YN1DuZcfFHbjV5by04c1d3Yzg/edit?usp=sharing




Saturday 2 August 2014

Karuizawa Summer School Scratch Workshop

19-31 July 2014

There were 80 participants in this summer school, aged 13 and 14. All students took four two-hour long Scratch programming lessons, in classes of 27 students. There were four university student assistants, and my son, helping me teach each class. The following was presented during the first two lessons:

  • Scratch UI - getting around and getting things done
  • Loops - forever, repeat, forever if, repeat until
  • if, then, else, nested ifs, testing for conditions and events
  • variables
  • broadcasts
  • tips for building games and animations that connected to the summer school theme
Students were placed in teams of 3 for the final two lessons, and given the task of creating a game or animation related to the summer school experience, and to explore the possibilities of using games and animations to draw attention to an important issue.

The task was quite demanding for only 8 hours of class, including presentations, so unfortunately many projects were not finished. Projects can be viewed at the summer school Scratch account:



Students were offered a Raspberry Pi to take home. 40 were taken. There were many positive comments about the course from students and other teachers.




Sunday 6 April 2014

Advanced Scratch Workshop

29-30 March 2014

This workshop was for students already proficient in Scratch. The aim was to explore more advanced features to create more sophisticated games.

There were 4 participants in this workshop. Two were bilingual Japanese and English, and two were learning English.

Day One:
variables
lists (items, attributes, highscores)
scrolling
Raspberry Pi systems administration

Day Two:
sophisticated motion - gravity, friction
simple AI - computer vs player
project work
presentation of games to parents



Files I used for teaching can be found at:
https://drive.google.com/folderview?id=0B_YN1DuZcfFHRWZBVHhzemJiZjg&usp=sharing

Projects are online at:
http://scratch.mit.edu/studios/554708/

Sunday 2 March 2014

Turtle Programming Fun

26 Jan and  23 Feb 2014


These two single-day workshops were for young programmers aged 6-8

In total, 16 children attended, the majority of them Japanese kids who had attended international kindergarten, and therefore knew some English. A handful had a foreign parent and were bilingual.

We began by playing the famous Kickstarted game Robot Turtles:

https://www.kickstarter.com/projects/danshapiro/robot-turtles-the-board-game-for-little-programmer



Then we moved on to a simulation of the game on Raspberry Pi. Finally, children used actual Scratch blocks in another turtle game.
Both of these games I created on Scratch 1.4 for Raspberry Pi, but I also uploaded versions to my Scratch account (therefore Scratch 2):

http://scratch.mit.edu/projects/16456776/

http://scratch.mit.edu/projects/17115196/


Saturday 4 January 2014

Scratch Workshop

28-29 December 2013

There were 8 participants in this workshop, aged 11 - 15, boys and girls, mostly bilingual English and Japanese. Approximately half had some prior programming experience. During 10 workshop hours over two days, the following was presented:

  • Scratch UI - getting around and getting things done
  • Loops - forever, repeat, forever if, repeat until
  • if, then, else, nested ifs, testing for conditions and events
  • variables
  • broadcasts
  • tips for building games, and for presenting to parents

However, the bulk of the time was spent practicing these things and creating games - programming, testing, troubleshooting and so on.
We also had lunch together on both days and invited parents to a presentation at the end of the second day.
I was impressed by the variety of games created and the imagination shown.
Some of the older students produced really fine games in a short time.