From 50fcec8d5694576a8fefb0f91d92b18bb55fb9b5 Mon Sep 17 00:00:00 2001 From: Austin Abro Date: Thu, 25 Jul 2024 13:54:27 +0000 Subject: [PATCH] update dos games --- examples/dos-games/image/Dockerfile | 4 ---- examples/dos-games/image/index.html | 20 ++++++-------------- examples/dos-games/manifests/deployment.yaml | 2 +- examples/dos-games/zarf.yaml | 2 +- 4 files changed, 8 insertions(+), 20 deletions(-) diff --git a/examples/dos-games/image/Dockerfile b/examples/dos-games/image/Dockerfile index f992f00743..4e0b4cee94 100644 --- a/examples/dos-games/image/Dockerfile +++ b/examples/dos-games/image/Dockerfile @@ -12,15 +12,11 @@ RUN wget https://js-dos.com/6.22/current/js-dos.js && \ RUN wget -O aladdin.zip "https://web.archive.org/web/20190303222445if_/https://www.dosgames.com/files/DOSBOX_ALADDIN.ZIP" RUN wget -O doom.zip "https://archive.org/download/DoomsharewareEpisode/doom.ZIP" -RUN wget -O mario-brothers.zip "https://image.dosgamesarchive.com/games/mario-bro.zip" -RUN wget -O prince-of-persia.zip "https://web.archive.org/web/20181030180256if_/http://image.dosgamesarchive.com/games/pop1.zip" RUN wget -O quake.zip "https://web.archive.org/web/20190303223506if_/https://www.dosgames.com/files/DOSBOX_QUAKE.ZIP" RUN wget -O warcraft-ii.zip "https://web.archive.org/web/20190303222732if_/https://www.dosgames.com/files/DOSBOX_WAR2.ZIP" RUN wget -O aladdin.png "https://image.dosgamesarchive.com/screenshots/aladdem-4.png" && \ wget -O doom.png "https://image.dosgamesarchive.com/screenshots/doom01.png" && \ - wget -O mario-brothers.png "https://image.dosgamesarchive.com/screenshots/marionl-6.png" && \ - wget -O prince-of-persia.png "https://image.dosgamesarchive.com/screenshots/prince102.png" && \ wget -O quake.png "https://image.dosgamesarchive.com/screenshots/quake13.png" && \ wget -O warcraft-ii.png "https://image.dosgamesarchive.com/screenshots/war2demo3.png" diff --git a/examples/dos-games/image/index.html b/examples/dos-games/image/index.html index f8d89574ca..ce0ebbcb37 100644 --- a/examples/dos-games/image/index.html +++ b/examples/dos-games/image/index.html @@ -47,9 +47,10 @@ } .column img { - margin-top: 8px; + margin-top: 16px; vertical-align: middle; width: 100%; + height: auto; } /* Responsive layout - makes a two column-layout instead of four columns */ @@ -70,7 +71,6 @@ } } - @@ -80,11 +80,7 @@ const gamePaths = { 'aladdin': 'ALADDIN.EXE', 'doom': 'DOOM.EXE', - 'mario-brothers': 'MARIO.BAT', - 'mega-man-x': 'MMXDEMO.EXE', - 'prince-of-persia': 'pop1demo.exe', 'quake': 'QUAKE.EXE', - 'sim-city-2k': 'SC2000.EXE', 'warcraft-ii': 'WAR2.EXE', } @@ -101,15 +97,11 @@
- - -
-
- - + +
- - + +
diff --git a/examples/dos-games/manifests/deployment.yaml b/examples/dos-games/manifests/deployment.yaml index 109c3ce5ca..039a140bd5 100644 --- a/examples/dos-games/manifests/deployment.yaml +++ b/examples/dos-games/manifests/deployment.yaml @@ -13,7 +13,7 @@ spec: spec: containers: - name: multi-game - image: "defenseunicorns/zarf-game:multi-tile-dark" + image: "ghcr.io/zarf-dev/zarf-game:0.0.1" ports: - name: http containerPort: 8000 diff --git a/examples/dos-games/zarf.yaml b/examples/dos-games/zarf.yaml index 922f402e76..e8213093f1 100644 --- a/examples/dos-games/zarf.yaml +++ b/examples/dos-games/zarf.yaml @@ -14,7 +14,7 @@ components: - manifests/deployment.yaml - manifests/service.yaml images: - - defenseunicorns/zarf-game:multi-tile-dark + - ghcr.io/zarf-dev/zarf-game:0.0.1 actions: onDeploy: after: