Le jeu du pendu - Faisons un gâteau !
Beispiel Hangman 1
gateau.html
— 6 KB
Dateiinhalt
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta name="title" content="Le jeu du pendu - Faisons un gâteau !">
<meta name="keywords" content="pendu jeu hangman Vokabelübung Unterricht Französisch Grammatik enseignement Français FLE grammaire">
<meta name="description" content="Beispiel für ein 'Jeu du pendu' / Hangman">
</head>
<body bgcolor="#FFFFF0">
<!--
//========================================================================
// "WebHangman" JavaScript Hangman
//
// Copyright (C) 2000,2001 Jan Mulder
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version, and as long as this notice is
// kept unmodified at the top of the script source code.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License (license.txt) for more details.
//
// To contact me visit: http://janmulder.com/contact/
//
//=======================================================================
// Jeu lgrement chang par Richard Nisius
// http://richardnisius.de
-->
<!--
Hangman Script by Jan Mulder.
For help or feedback contact: info@EnglishCafe.co.uk
This script is free. You may use it as-is or modify it to suit your needs.
Please put an acknowledgement to me (see above) somewhere in the head section
of your page source. Some visible acknowledgement, while not necessary, is
customary and would be nice.
This script has been written from the ground up so
DO NOT COPY IT AND PASS IT OFF AS YOUR OWN.
-->
<!--
Below you is the hangman data.
"sourceDir" is the location of the hangman script (and images) relative to this file.
I usually put them in a subfolder called "hangman". You can also place them in the
same folder as this file. "sourceDir" would then be nothing. You will need to
include the line:
var sourceDir = "";
"words" is an array of word pairs used in the game. The first word is the actual
word to guess. The second is an optional hint. This can be a word or phrase.
If you don't want to use hints you just leave this field with an empty string.
For example:
var words = new Array(
"word1", "",
"word2", "",
"word3", ""
);
Notice that the last item in the array is NOT followed by a comma. This is standard
JavaScript and if you put it there it will crash.
R. Nisius:
Franzsische Buchstaben mit Akzent mssen durch folgende Zahlen ersetzt werden:
= 0
= 1
= 2
= 3
= 4
= 5
oe = 6
= 7
- = 8
' = 9
-->
<script language="JavaScript">
var sourceDir = "";
var words = new Array(
"L9OURSON","das Brchen, das Brenjunge",
"LE FOUR","der (Back-)Ofen",
"LE G2TEAU","der Kuchen",
"LE PETIT G2TEAU","das Pltzchen",
"LA CUILL4RE","Elle sert manger le potage",
"LE COUTEAU","Il sert couper qc",
"LA TARTE","On y met des fruits",
"LA FARINE","Elle est blanche",
"LA CUISINI4RE","Elle sert faire cuire le gteau",
"LE BEURRE","On le met aussi sur le pain",
"L96UF","Il n'est pas rond, mais ovale",
"LA P2TE","de la farine, des oeufs, du sucre...",
"LE BLANC D96UF","Une partie de l'oeuf",
"LE JAUNE D96UF","Une partie de l'oeuf",
"LE SUCRE","der Zucker",
"LA CR5ME","die Sahne",
"LA BALANCE","die Waage",
"LE FOUET","Il sert battre le blanc d'oeuf",
"LE MIXEUR","Il sert mlanger des choses",
"LE POT","der Topf",
"LE MOULE","On y met la pte quand elle est prte",
"LE MOULE 1 D3COUPER","die Ausstechform",
"LA PLAQUE 1 G2TEAUX","On la met dans le four",
"LE TABLIER","On la met pour rester propre",
"PR3PARER QC","faire (un gteau p. ex.)",
"FAIRE CUIRE QC","etwas kochen, braten, backen",
"PESER QC","etwas wiegen",
"CASSER DES 6UFS","Eier aufschlagen",
"LE LAIT","Il est blanc, et on peut le boire",
"BATTRE DES 6UFS","Eier schlagen",
"M3LANGER QC","mixer qc",
"LE BEURRE","On le met sur la tartine",
"P3TRIR QC","etwas kneten, rhren",
"3TALER LA P2TE","den Teig ausrollen",
"5TRE FRIAND DE QC","gern von etw. naschen"
);
</script>
<!--
Now we include the script file "hangman.js"
This must be done AFTER the words data has been defined. (see above)
-->
<script src="hangman_ao.js"></script>
<!--
The rest is straightforward.
Some in the page you must call the following functions:
drawHangman(); - this draws the hangman picture
drawControl(); - this draws the control panel with letters
drawAnswer(); - this draws the answer display
drawHint(); - this draws the hint button and display. (optional)
You can choose the layout and design of your page because you can call the
functions anywhere in the page.
-->
<ul><p>
<h1>Le jeu du pendu - Faisons un gâteau !</h1>
<p>Clique sur « <b>Jeu</b> » pour jouer. Puis clique sur les lettres et devine les mots.<br>
Si tu cliques sur « <b>Tuyau</b> », on t'aide un peu. Mais tu perds un point ! <br>
Apprends d'abord le <a href="gateaux_voc.zip"> vocabulaire</a>.
</p>
<img src="cuistots.gif" width="280" height="200" border="0" alt="Faisons un gâteau !" title="Faisons un gâteau !"></p>
<table cellpadding=10>
<tr>
<td align="center">
<table border=0 bgcolor="#FFFFF0" cellpadding=10>
<tr><td>
<script language=JavaScript>
drawHangman();
</script>
<br><br>
</td></tr>
</table>
</td>
<td>
<br>
<script language=JavaScript>
drawControl();
</script>
<br><br><br>
<script language=JavaScript>
drawAnswer();
</script>
<br><br>
<script language=JavaScript>
drawHint();
</script>
</td>
</tr>
</table>
<p>JavaScript par <a href="http://janmulder.com/" target="_blank">Jan Mulder</a>, adapté par <a href="http://richardnisius.de" target="_blank">Richard Nisius</a>.</p></ul>
</body>
</html>

