User Tools

Site Tools


week_0:walkthroughs

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
week_0:walkthroughs [2016/08/04 08:05] – created leoweek_0:walkthroughs [2016/08/11 21:37] (current) leo
Line 1: Line 1:
-|<- [[Lecture, continued]]|[[Shorts]] ->|+|<- [[Lecture, continued]]|[[Algorithms]] ->|
  
 ==== hello, Scratch ==== ==== hello, Scratch ====
  
-hello world+Contrôle->Quand drapeau vert pressé + Apparence->dire salut = hello world
  
 +==== Meow ====
 +
 +Contrôle->Quand drapeau vert pressé + Sons->djouer le son miaou = miaou
 +
 +==== Meow ? ====
 +
 +Structure de contrôle + opérateurs
 +
 +==== Meow Meow Meow ====
 +
 +Répétition + Délai
 +
 +==== répétition + condition + event ====
 +
 +if else
 +
 +==== hi hi hi ====
 +
 +variable
 +
 +programmes en parallèle avec variable partagée
 +
 +==== counting sheep ====
 +
 +compteur, incrémentation
 +
 +==== cough-0 ====
 +
 +dupliquer des blocs
 +
 +==== cough 1 ====
 +
 +loop
 +
 +==== cough 2 ====
 +
 +
 +function block + lisible
 +
 +==== cough 3 ====
 +
 +passage d'arguments à une fonction
 +
 +==== cough-4 ====
 +
 ++ fonction sneeze
 +
 +fonction quasi identique -> bad design -> factoring out
 +
 +factoring out peut paraître inutile pour petit programme mais plus celui-ci grandit plus easy to update more readable
 +
 +==== threads ====
 +
 +scripts parallèles
 +
 +scratch = multi threaded environment
 +
 +script associé à sprite
 +
 +==== event ====
 +
 +'broadcast' an event
 +
 +broadcast/receive
week_0/walkthroughs.1470290732.txt.gz · Last modified: 2016/08/04 08:05 by leo