Subversion Repositories wimsdev

Rev

Rev 6509 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

\title{Champignon à couleurs variables}
\text{choix = red,pink,yellow,orange,brown,blue,white,purple,grey,black}
\text{a = shuffle(items(\choix))}
\text{couleur1 = \choix[\a[1]]}
\text{couleur2 = \choix[\a[2]]}
\text{size = 200,310}
\text{image = draw(\size[1],\size[2]
  xrange 0,\size[1]
  yrange 0,\size[2]
  setparallelogram 0,0,\size[1],0,0,\size[2]
  multicopy champignon.jpg
  fill 100,100,\couleur2
  fill 60,180,\couleur1 )}

\statement{
 <div class="float_left">
  <img src="\image" alt="" />
 </div>
 Quelles sont les couleurs du champignon en anglais ?
  \embed{reply1}
  <br />
  \embed{reply2}
}

\answer{}{\a[1];\choix}{type=radio}
\answer{}{\a[2];\choix}{type=radio}