<html lang="en">
<head>
<meta charset="UTF-8">
<title>Creeper</title>
</head>
<canvas width="350" height="300"></canvas>
<script >
function dibujar (a,b,c,d,color){
let pantalla = document.querySelector("canvas");
let pincel = pantalla.getContext("2d");
pincel.fillStyle = color;
pincel.fillRect(a,b,c,d);
pincel.fill();
}
dibujar(0,0,350,300,"darkgreen");
dibujar(40,40,90,90,"black");
dibujar(200,40,90,90,"black");
dibujar(130,130,70,100,"black");
dibujar(200,200,40,110,"black");
dibujar(90,200,40,110,"black");
</script>
</html>