CREEPER
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Creeper</title>
</head>
<body>
<canvas width="600" height="400">
</canvas>
</body>
<script>
const pantalla = document.querySelector('canvas');
const pincel = pantalla.getContext('2d');
const color = (x,y,ancho,alto,color) => {
pincel.fillStyle = color;
pincel.fillRect(x,y,ancho,alto);
}
color(0, 0,350,300,'green'); // CABEZA
color(50,60,90,90,'black'); //OJOS DERECHO
color(210,60,90,90,'black'); // OJOS IZQUIERDO
color(140,150,70,100,'black'); // NARIZ
color(100,190,40,110,'black'); // BOCA
color(210,190,40,110,'black'); // BOCA
</script>
</html>