Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" | |
"http://www.w3.org/TR/html4/strict.dtd"> | |
<html> | |
<header> | |
<meta charset="utf-8"/> | |
<meta lang="fr"/> | |
<title>Le jeu du pendu HTML de mibi88</title> | |
<style type="text/css"> | |
.letter { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from turtle import * # On importe turtle. | |
def drawline(x, y, x2, y2): # fonction qui desssine une ligne. | |
up() # On relève le stylo (pour ne pas dessiner le déplacement suivant). | |
goto(x, y) # On va à la première position (position de départ de la ligne). | |
down() # On abaisse le stylo pour dessiner. | |
goto(x2, y2) # On va à la deuxième position. | |
up() # On relève le stylo (pour ne pas dessiner le déplacement suivant). | |
LOOP = 30 # Nombre de fois où on lance la boucle. | |
INCR = 10 # De combien on diminue ou augmente la position. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> <!-- début du document. --> | |
<head> <!-- L'en tête. --> | |
<meta charset="UTF-8"> <!-- On met l'encodage du texte à UTF-8 --> | |
<title>Dessin 1</title> <!-- Titre. --> | |
<script type="text/javascript"> <!-- début du script. --> | |
function draw() { // Fonction où on dessine dans le canvas. | |
var canvas = document.getElementById("dessin"); // On récupère l'objet "dessin", le canvas où on veut dessiner. | |
if (canvas.getContext) { | |
var canvas_o = canvas.getContext("2d"); | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
################### | |
## MibiTurtle ## | |
## by mibi88 ## | |
## ------------- ## | |
## v.0.1 ## | |
## ------------- ## | |
## License : ## | |
## GNU GPL v2 ## | |
## ------------- ## | |
## 2021/12/08 ## |