Rev 5724 | Rev 11557 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5724 | Rev 8512 | ||
---|---|---|---|
Line 31... | Line 31... | ||
31 | 31 | ||
32 | :Message sur le nombre d'essais restant |
32 | :Message sur le nombre d'essais restant |
33 | 33 | ||
34 | \text{message=Vous avez droit à XXXX erreurs} |
34 | \text{message=Vous avez droit à XXXX erreurs} |
35 | 35 | ||
36 | :Type of drawing |
36 | :Type of drawing |
37 | Choix du dessin. 1: hangman, 2: rectangles with changing colours, 3: skull and crossbones |
37 | Choix du dessin. 1: hangman, 2: rectangles with changing colours, 3: skull and crossbones |
38 | \text{type=item(2,3 (skull and crossbones), |
38 | \text{type=item(2,3 (skull and crossbones), |
39 | 2 (rectangles with changing colours), |
39 | 2 (rectangles with changing colours), |
40 | 1 (hangman))} |
40 | 1 (hangman))} |
41 | 41 | ||
Line 55... | Line 55... | ||
55 | \text{motatrouver=Word to find} |
55 | \text{motatrouver=Word to find} |
56 | \text{proposer=Select a letter (small)} |
56 | \text{proposer=Select a letter (small)} |
57 | \text{typename=wims(declosing wims(word 2 to -1 of \type))} |
57 | \text{typename=wims(declosing wims(word 2 to -1 of \type))} |
58 | \text{type=wims(word 1 of \type)} |
58 | \text{type=wims(word 1 of \type)} |
59 | \text{typename=wims(words2items wims(nospace \typename))} |
59 | \text{typename=wims(words2items wims(nospace \typename))} |
60 | \text{typename=slib(oef/blank _,,\typename)} |
60 | \text{typename=slib(oef/blank _,,\typename)} |
61 | \text{mot=randrow(\data)} |
61 | \text{mot=randrow(\data)} |
62 | \text{indication=\mot[2..-1]} |
62 | \text{indication=\mot[2..-1]} |
63 | \text{mot=\mot[1]} |
63 | \text{mot=\mot[1]} |
64 | \text{jok=—} |
64 | \text{jok=—} |
65 | \css{<style type="text/css"> |
65 | \css{<style type="text/css"> |
Line 152... | Line 152... | ||
152 | \text{cnt=0} |
152 | \text{cnt=0} |
153 | 153 | ||
154 | \integer{reste=6 - \cnt} |
154 | \integer{reste=6 - \cnt} |
155 | \text{message=wims(replace internal XXXX by <strong>\reste</strong> in \message0)} |
155 | \text{message=wims(replace internal XXXX by <strong>\reste</strong> in \message0)} |
156 | \statement{ |
156 | \statement{ |
157 | <p class=" |
157 | <p class="instruction">\instruction</p> |
158 | <p ><em>\Indication : <span class="indication">\indication</span></em></p> |
158 | <p ><em>\Indication : <span class="indication">\indication</span></em></p> |
159 | <div class="floating small_col centrer type\type"> |
159 | <div class="floating small_col centrer type\type"> |
160 | <div class="dessin"><p>\message</p> |
160 | <div class="dessin"><p>\message</p> |
161 | \Dessin</div> |
161 | \Dessin</div> |
162 | </div> |
162 | </div> |
Line 238... | Line 238... | ||
238 | \text{dessin=wims(replace internal \jj by <span class="red">\typename[1]</span> in \dessin)} |
238 | \text{dessin=wims(replace internal \jj by <span class="red">\typename[1]</span> in \dessin)} |
239 | } |
239 | } |
240 | \if{\type=3}{ |
240 | \if{\type=3}{ |
241 | \text{dessin=wims(replace internal \jj by <img src="gifs/images/skull_and_crossbones50.png" alt="\typename[1]"/> in \dessin)} |
241 | \text{dessin=wims(replace internal \jj by <img src="gifs/images/skull_and_crossbones50.png" alt="\typename[1]"/> in \dessin)} |
242 | } |
242 | } |
243 | \text{Dessin=\dessin} |
243 | \text{Dessin=\dessin} |
244 | } |
244 | } |
245 | } |
245 | } |
246 | 246 | ||
247 | # On affiche differement les lettres deja tapées |
247 | # On affiche differement les lettres deja tapées |
248 | \text{z=position(\rep[\step-1],\lettre1)} |
248 | \text{z=position(\rep[\step-1],\lettre1)} |