From: VladImpaler Date: Tue, 25 Apr 2023 03:16:23 +0000 (-0600) Subject: Iframe to display the game added X-Git-Url: https://git.josue.xyz/?a=commitdiff_plain;h=3ba4e37dc2566522dcb98db59c902903b51c3cad;p=salamandradevs.site%2F.git Iframe to display the game added --- 3ba4e37dc2566522dcb98db59c902903b51c3cad diff --cc content/games/snake.md index d048246,d048246..68a257b --- a/content/games/snake.md +++ b/content/games/snake.md @@@ -2,4 -2,4 +2,5 @@@ title: SNAKE GAME description: Juego de la viborita con disparos, hecho por @VladImpaler64 image: /images/games/pato.svg ++iframe: /games/snake/juego.html --- diff --cc content/games/snake/Explosion 69 (2).wav index 2ec91aa,2ec91aa..0000000 deleted file mode 100644,100644 Binary files differ diff --cc content/games/snake/Hit_hurt 176 (1).wav index 256b2a5,256b2a5..0000000 deleted file mode 100644,100644 Binary files differ diff --cc content/games/snake/Hit_hurt 192 (2).wav index 93cdc52,93cdc52..0000000 deleted file mode 100644,100644 Binary files differ diff --cc content/games/snake/Mouse.png index 93154a3,93154a3..0000000 deleted file mode 100644,100644 Binary files differ diff --cc content/games/snake/Pickup_coin 10.wav index 560e15a,560e15a..0000000 deleted file mode 100644,100644 Binary files differ diff --cc content/games/snake/Skull.png index f2f8751,f2f8751..0000000 deleted file mode 100644,100644 Binary files differ diff --cc content/games/snake/Slime.png index df633b1,df633b1..0000000 deleted file mode 100644,100644 Binary files differ diff --cc content/games/snake/Snake2.png index f279c4a,f279c4a..0000000 deleted file mode 100644,100644 Binary files differ diff --cc content/games/snake/disparo.png index 9959228,9959228..0000000 deleted file mode 100644,100644 Binary files differ diff --cc content/games/snake/foreground.png index ee98e73,ee98e73..0000000 deleted file mode 100644,100644 Binary files differ diff --cc content/games/snake/gema.png index a997005,a997005..0000000 deleted file mode 100644,100644 Binary files differ diff --cc content/games/snake/gema2.png index 010a777,010a777..0000000 deleted file mode 100644,100644 Binary files differ diff --cc content/games/snake/gema3.png index 7870490,7870490..0000000 deleted file mode 100644,100644 Binary files differ diff --cc content/games/snake/gema4.png index ee6d566,ee6d566..0000000 deleted file mode 100644,100644 Binary files differ diff --cc content/games/snake/lifebar.png index e0e3080,e0e3080..0000000 deleted file mode 100644,100644 Binary files differ diff --cc content/games/snake/map2.png index 3fe8628,3fe8628..0000000 deleted file mode 100644,100644 Binary files differ diff --cc static/games/snake/Explosion 69 (2).wav index 0000000,0000000..2ec91aa new file mode 100644 Binary files differ diff --cc static/games/snake/Hit_hurt 176 (1).wav index 0000000,0000000..256b2a5 new file mode 100644 Binary files differ diff --cc static/games/snake/Hit_hurt 192 (2).wav index 0000000,0000000..93cdc52 new file mode 100644 Binary files differ diff --cc static/games/snake/Mouse.png index 0000000,0000000..93154a3 new file mode 100644 Binary files differ diff --cc static/games/snake/Pickup_coin 10.wav index 0000000,0000000..560e15a new file mode 100644 Binary files differ diff --cc static/games/snake/Skull.png index 0000000,0000000..f2f8751 new file mode 100644 Binary files differ diff --cc static/games/snake/Slime.png index 0000000,0000000..df633b1 new file mode 100644 Binary files differ diff --cc static/games/snake/Snake2.png index 0000000,0000000..f279c4a new file mode 100644 Binary files differ diff --cc static/games/snake/disparo.png index 0000000,0000000..9959228 new file mode 100644 Binary files differ diff --cc static/games/snake/foreground.png index 0000000,0000000..ee98e73 new file mode 100644 Binary files differ diff --cc static/games/snake/gema.png index 0000000,0000000..a997005 new file mode 100644 Binary files differ diff --cc static/games/snake/gema2.png index 0000000,0000000..010a777 new file mode 100644 Binary files differ diff --cc static/games/snake/gema3.png index 0000000,0000000..7870490 new file mode 100644 Binary files differ diff --cc static/games/snake/gema4.png index 0000000,0000000..ee6d566 new file mode 100644 Binary files differ diff --cc static/games/snake/juego.html index 0000000,0000000..f334858 new file mode 100644 --- /dev/null +++ b/static/games/snake/juego.html @@@ -1,0 -1,0 +1,1231 @@@ ++ ++ ++ ++ ++ ++ ++ Snake ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++
++
++
++
++
++ ++
++ ++
++
++
++ ++
++
++ ++
++ ++ ++ ++ diff --cc static/games/snake/lifebar.png index 0000000,0000000..e0e3080 new file mode 100644 Binary files differ diff --cc static/games/snake/map2.png index 0000000,0000000..3fe8628 new file mode 100644 Binary files differ diff --cc themes/droda/assets/css/main.css index 7123971,7123971..f11ec18 --- a/themes/droda/assets/css/main.css +++ b/themes/droda/assets/css/main.css @@@ -287,6 -287,6 +287,14 @@@ main span .highlight code overflow-x: auto; } ++main iframe { ++ display: block; ++ margin: 0 auto; ++ width: 100%; ++ height: 100%; ++ max-width: 100vh; ++} ++ footer { grid-area: footer; display: flex; diff --cc themes/droda/layouts/games/single.html index 9ab9acb,9ab9acb..71c6f75 --- a/themes/droda/layouts/games/single.html +++ b/themes/droda/layouts/games/single.html @@@ -1,1231 -1,1231 +1,7 @@@ -- -- -- -- -- -- -- Snake Shoot! -- -- -- -- -- -- -- -- -- -- --
--
--
--
--
-- --
-- --
--
--
-- --
--
-- --
-- -- -- -- ++{{ define "main" }} ++{{ "" | safeHTML }} ++
++

{{ .Title }}

++ ++
++{{ end }}