Skip to content

Instantly share code, notes, and snippets.

View Mapa JoelPAPIREX
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>mapas</title>
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.6.0/dist/leaflet.css"
integrity="sha512-xwE/Az9zrjBIphAcBb3F6JVqxf46+CDLwfLMHloNu6KEQCAWi6HcDUbeOfBIptF7tcCzusKFjFw2yuvEpDL9wQ=="
crossorigin=""/>
View Black Jack
class Black {
constructor(){
this.mazoMesclaso = [];
this.mazo = [];
this.palo = [new Palo("♥"), new Palo("♦"), new Palo("♣"), new Palo("♠")];
this.valores = ['A','2','3','4','5','6','7','8','9','10','J','Q','K'];
}
crear(){
View CLASES AVE 1
class Ave {
volar;
comer;
setVolar(volar) {
this.volar = volar;
}
setComer(comer) {
this.comer = comer;
}
View juego.html
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="css/caballitos.css">
<title> Hipodromo de los Dioses </title>
</head>
<body>
You can’t perform that action at this time.