From 37de4e3c3828b216a2c77c8b3321c5f3a7f38c78 Mon Sep 17 00:00:00 2001 From: fred Date: Tue, 6 Feb 2024 15:24:20 +0100 Subject: [PATCH] moving jeumarteau in adventure/games/ adding votrejeu/adventure.sh --- .../games}/jeumarteau/adventure.sh | 0 .../games}/jeumarteau/art/Gune.ben | 0 .../games}/jeumarteau/art/astrologo.ben | 0 .../games}/jeumarteau/art/astroportland.ben | 0 .../games}/jeumarteau/art/astrored.ben | 0 .../games}/jeumarteau/art/bigfinish.ben | 0 .../games}/jeumarteau/art/logoastro.ben | 0 .../games}/jeumarteau/art/supper.ben | 0 .../games}/jeumarteau/art/titleart.ben | 0 .../games}/jeumarteau/game_map.png | Bin .../games}/jeumarteau/logic/leverlogic.ben | 0 .../games}/jeumarteau/logic/leverlogic.ben= | 0 .../games}/jeumarteau/logic/leverlogic2.ben | 0 .../games}/jeumarteau/logic/leverlogic2.ben= | 0 .../games}/jeumarteau/logic/stationlogic.ben | 0 .../games}/jeumarteau/logic/stationlogic2.ben | 0 .../games}/jeumarteau/rooms/bigroom.sh | 0 .../games}/jeumarteau/rooms/brown.sh | 0 .../games}/jeumarteau/rooms/end.sh | 0 .../games}/jeumarteau/rooms/gameroom.sh | 0 .../games}/jeumarteau/rooms/green.sh | 0 .../games}/jeumarteau/rooms/grue.sh | 0 .../games}/jeumarteau/rooms/kroo.sh | 0 .../games}/jeumarteau/rooms/kroo2.sh | 0 .../games}/jeumarteau/rooms/kroo3.sh | 0 .../games}/jeumarteau/rooms/magic8.sh | 0 .../games}/jeumarteau/rooms/mainroom.sh | 0 .../games}/jeumarteau/rooms/meteofrance.sh | 0 .../games}/jeumarteau/rooms/meteofrance2.sh | 0 .../games}/jeumarteau/rooms/red.sh | 0 .../games}/jeumarteau/rooms/start.sh | 0 .../games}/jeumarteau/rooms/white.sh | 0 .../games}/jeumarteau/script/opening.ben | 0 .../jeumarteau/templates/meteo_chain.html | 0 .../templates/styles/bootstrap.min.css | 0 .../templates/styles/bootstrap.min.css.map | 0 .../templates/styles/decoration.css | 0 .../templates/styles/font-awesome.min.css | 0 .../jeumarteau/templates/styles/forest.css | 0 .../jeumarteau/templates/styles/jqcloud.scss | 0 .../jeumarteau/templates/styles/jquery.css | 0 .../jeumarteau/templates/styles/layout.css | 0 .../jeumarteau/templates/styles/logo.png | Bin .../jeumarteau/templates/styles/monokai.css | 0 .../templates/styles/pagination.css | 0 .../jeumarteau/templates/styles/slick.css | 0 .../templates/styles/slickstyle.css | 0 .../jeumarteau/templates/styles/tagcloud.css | 0 .../jeumarteau/templates/styles/video-js.css | 0 .../templates/styles/video-wall.css | 0 adventure/games/votrejeu/adventure.sh | 49 ++++++++++++++++++ 51 files changed, 49 insertions(+) rename {games => adventure/games}/jeumarteau/adventure.sh (100%) rename {games => adventure/games}/jeumarteau/art/Gune.ben (100%) rename {games => adventure/games}/jeumarteau/art/astrologo.ben (100%) rename {games => adventure/games}/jeumarteau/art/astroportland.ben (100%) rename {games => adventure/games}/jeumarteau/art/astrored.ben (100%) rename {games => adventure/games}/jeumarteau/art/bigfinish.ben (100%) rename {games => adventure/games}/jeumarteau/art/logoastro.ben (100%) rename {games => adventure/games}/jeumarteau/art/supper.ben (100%) rename {games => adventure/games}/jeumarteau/art/titleart.ben (100%) rename {games => adventure/games}/jeumarteau/game_map.png (100%) rename {games => adventure/games}/jeumarteau/logic/leverlogic.ben (100%) rename {games => adventure/games}/jeumarteau/logic/leverlogic.ben= (100%) rename {games => adventure/games}/jeumarteau/logic/leverlogic2.ben (100%) rename {games => adventure/games}/jeumarteau/logic/leverlogic2.ben= (100%) rename {games => adventure/games}/jeumarteau/logic/stationlogic.ben (100%) rename {games => adventure/games}/jeumarteau/logic/stationlogic2.ben (100%) rename {games => adventure/games}/jeumarteau/rooms/bigroom.sh (100%) rename {games => adventure/games}/jeumarteau/rooms/brown.sh (100%) rename {games => adventure/games}/jeumarteau/rooms/end.sh (100%) rename {games => adventure/games}/jeumarteau/rooms/gameroom.sh (100%) rename {games => adventure/games}/jeumarteau/rooms/green.sh (100%) rename {games => adventure/games}/jeumarteau/rooms/grue.sh (100%) rename {games => adventure/games}/jeumarteau/rooms/kroo.sh (100%) rename {games => adventure/games}/jeumarteau/rooms/kroo2.sh (100%) rename {games => adventure/games}/jeumarteau/rooms/kroo3.sh (100%) rename {games => adventure/games}/jeumarteau/rooms/magic8.sh (100%) rename {games => adventure/games}/jeumarteau/rooms/mainroom.sh (100%) rename {games => adventure/games}/jeumarteau/rooms/meteofrance.sh (100%) rename {games => adventure/games}/jeumarteau/rooms/meteofrance2.sh (100%) rename {games => adventure/games}/jeumarteau/rooms/red.sh (100%) rename {games => adventure/games}/jeumarteau/rooms/start.sh (100%) rename {games => adventure/games}/jeumarteau/rooms/white.sh (100%) rename {games => adventure/games}/jeumarteau/script/opening.ben (100%) rename {games => adventure/games}/jeumarteau/templates/meteo_chain.html (100%) rename {games => adventure/games}/jeumarteau/templates/styles/bootstrap.min.css (100%) rename {games => adventure/games}/jeumarteau/templates/styles/bootstrap.min.css.map (100%) rename {games => adventure/games}/jeumarteau/templates/styles/decoration.css (100%) rename {games => adventure/games}/jeumarteau/templates/styles/font-awesome.min.css (100%) rename {games => adventure/games}/jeumarteau/templates/styles/forest.css (100%) rename {games => adventure/games}/jeumarteau/templates/styles/jqcloud.scss (100%) rename {games => adventure/games}/jeumarteau/templates/styles/jquery.css (100%) rename {games => adventure/games}/jeumarteau/templates/styles/layout.css (100%) rename {games => adventure/games}/jeumarteau/templates/styles/logo.png (100%) rename {games => adventure/games}/jeumarteau/templates/styles/monokai.css (100%) rename {games => adventure/games}/jeumarteau/templates/styles/pagination.css (100%) rename {games => adventure/games}/jeumarteau/templates/styles/slick.css (100%) rename {games => adventure/games}/jeumarteau/templates/styles/slickstyle.css (100%) rename {games => adventure/games}/jeumarteau/templates/styles/tagcloud.css (100%) rename {games => adventure/games}/jeumarteau/templates/styles/video-js.css (100%) rename {games => adventure/games}/jeumarteau/templates/styles/video-wall.css (100%) create mode 100755 adventure/games/votrejeu/adventure.sh diff --git a/games/jeumarteau/adventure.sh b/adventure/games/jeumarteau/adventure.sh similarity index 100% rename from games/jeumarteau/adventure.sh rename to adventure/games/jeumarteau/adventure.sh diff --git a/games/jeumarteau/art/Gune.ben b/adventure/games/jeumarteau/art/Gune.ben similarity index 100% rename from games/jeumarteau/art/Gune.ben rename to adventure/games/jeumarteau/art/Gune.ben diff --git a/games/jeumarteau/art/astrologo.ben b/adventure/games/jeumarteau/art/astrologo.ben similarity index 100% rename from games/jeumarteau/art/astrologo.ben rename to adventure/games/jeumarteau/art/astrologo.ben diff --git a/games/jeumarteau/art/astroportland.ben b/adventure/games/jeumarteau/art/astroportland.ben similarity index 100% rename from games/jeumarteau/art/astroportland.ben rename to adventure/games/jeumarteau/art/astroportland.ben diff --git a/games/jeumarteau/art/astrored.ben b/adventure/games/jeumarteau/art/astrored.ben similarity index 100% rename from games/jeumarteau/art/astrored.ben rename to adventure/games/jeumarteau/art/astrored.ben diff --git a/games/jeumarteau/art/bigfinish.ben b/adventure/games/jeumarteau/art/bigfinish.ben similarity index 100% rename from games/jeumarteau/art/bigfinish.ben rename to adventure/games/jeumarteau/art/bigfinish.ben diff --git a/games/jeumarteau/art/logoastro.ben b/adventure/games/jeumarteau/art/logoastro.ben similarity index 100% rename from games/jeumarteau/art/logoastro.ben rename to adventure/games/jeumarteau/art/logoastro.ben diff --git a/games/jeumarteau/art/supper.ben b/adventure/games/jeumarteau/art/supper.ben similarity index 100% rename from games/jeumarteau/art/supper.ben rename to adventure/games/jeumarteau/art/supper.ben diff --git a/games/jeumarteau/art/titleart.ben b/adventure/games/jeumarteau/art/titleart.ben similarity index 100% rename from games/jeumarteau/art/titleart.ben rename to adventure/games/jeumarteau/art/titleart.ben diff --git a/games/jeumarteau/game_map.png b/adventure/games/jeumarteau/game_map.png similarity index 100% rename from games/jeumarteau/game_map.png rename to adventure/games/jeumarteau/game_map.png diff --git a/games/jeumarteau/logic/leverlogic.ben b/adventure/games/jeumarteau/logic/leverlogic.ben similarity index 100% rename from games/jeumarteau/logic/leverlogic.ben rename to adventure/games/jeumarteau/logic/leverlogic.ben diff --git a/games/jeumarteau/logic/leverlogic.ben= b/adventure/games/jeumarteau/logic/leverlogic.ben= similarity index 100% rename from games/jeumarteau/logic/leverlogic.ben= rename to adventure/games/jeumarteau/logic/leverlogic.ben= diff --git a/games/jeumarteau/logic/leverlogic2.ben b/adventure/games/jeumarteau/logic/leverlogic2.ben similarity index 100% rename from games/jeumarteau/logic/leverlogic2.ben rename to adventure/games/jeumarteau/logic/leverlogic2.ben diff --git a/games/jeumarteau/logic/leverlogic2.ben= b/adventure/games/jeumarteau/logic/leverlogic2.ben= similarity index 100% rename from games/jeumarteau/logic/leverlogic2.ben= rename to adventure/games/jeumarteau/logic/leverlogic2.ben= diff --git a/games/jeumarteau/logic/stationlogic.ben b/adventure/games/jeumarteau/logic/stationlogic.ben similarity index 100% rename from games/jeumarteau/logic/stationlogic.ben rename to adventure/games/jeumarteau/logic/stationlogic.ben diff --git a/games/jeumarteau/logic/stationlogic2.ben b/adventure/games/jeumarteau/logic/stationlogic2.ben similarity index 100% rename from games/jeumarteau/logic/stationlogic2.ben rename to adventure/games/jeumarteau/logic/stationlogic2.ben diff --git a/games/jeumarteau/rooms/bigroom.sh b/adventure/games/jeumarteau/rooms/bigroom.sh similarity index 100% rename from games/jeumarteau/rooms/bigroom.sh rename to adventure/games/jeumarteau/rooms/bigroom.sh diff --git a/games/jeumarteau/rooms/brown.sh b/adventure/games/jeumarteau/rooms/brown.sh similarity index 100% rename from games/jeumarteau/rooms/brown.sh rename to adventure/games/jeumarteau/rooms/brown.sh diff --git a/games/jeumarteau/rooms/end.sh b/adventure/games/jeumarteau/rooms/end.sh similarity index 100% rename from games/jeumarteau/rooms/end.sh rename to adventure/games/jeumarteau/rooms/end.sh diff --git a/games/jeumarteau/rooms/gameroom.sh b/adventure/games/jeumarteau/rooms/gameroom.sh similarity index 100% rename from games/jeumarteau/rooms/gameroom.sh rename to adventure/games/jeumarteau/rooms/gameroom.sh diff --git a/games/jeumarteau/rooms/green.sh b/adventure/games/jeumarteau/rooms/green.sh similarity index 100% rename from games/jeumarteau/rooms/green.sh rename to adventure/games/jeumarteau/rooms/green.sh diff --git a/games/jeumarteau/rooms/grue.sh b/adventure/games/jeumarteau/rooms/grue.sh similarity index 100% rename from games/jeumarteau/rooms/grue.sh rename to adventure/games/jeumarteau/rooms/grue.sh diff --git a/games/jeumarteau/rooms/kroo.sh b/adventure/games/jeumarteau/rooms/kroo.sh similarity index 100% rename from games/jeumarteau/rooms/kroo.sh rename to adventure/games/jeumarteau/rooms/kroo.sh diff --git a/games/jeumarteau/rooms/kroo2.sh b/adventure/games/jeumarteau/rooms/kroo2.sh similarity index 100% rename from games/jeumarteau/rooms/kroo2.sh rename to adventure/games/jeumarteau/rooms/kroo2.sh diff --git a/games/jeumarteau/rooms/kroo3.sh b/adventure/games/jeumarteau/rooms/kroo3.sh similarity index 100% rename from games/jeumarteau/rooms/kroo3.sh rename to adventure/games/jeumarteau/rooms/kroo3.sh diff --git a/games/jeumarteau/rooms/magic8.sh b/adventure/games/jeumarteau/rooms/magic8.sh similarity index 100% rename from games/jeumarteau/rooms/magic8.sh rename to adventure/games/jeumarteau/rooms/magic8.sh diff --git a/games/jeumarteau/rooms/mainroom.sh b/adventure/games/jeumarteau/rooms/mainroom.sh similarity index 100% rename from games/jeumarteau/rooms/mainroom.sh rename to adventure/games/jeumarteau/rooms/mainroom.sh diff --git a/games/jeumarteau/rooms/meteofrance.sh b/adventure/games/jeumarteau/rooms/meteofrance.sh similarity index 100% rename from games/jeumarteau/rooms/meteofrance.sh rename to adventure/games/jeumarteau/rooms/meteofrance.sh diff --git a/games/jeumarteau/rooms/meteofrance2.sh b/adventure/games/jeumarteau/rooms/meteofrance2.sh similarity index 100% rename from games/jeumarteau/rooms/meteofrance2.sh rename to adventure/games/jeumarteau/rooms/meteofrance2.sh diff --git a/games/jeumarteau/rooms/red.sh b/adventure/games/jeumarteau/rooms/red.sh similarity index 100% rename from games/jeumarteau/rooms/red.sh rename to adventure/games/jeumarteau/rooms/red.sh diff --git a/games/jeumarteau/rooms/start.sh b/adventure/games/jeumarteau/rooms/start.sh similarity index 100% rename from games/jeumarteau/rooms/start.sh rename to adventure/games/jeumarteau/rooms/start.sh diff --git a/games/jeumarteau/rooms/white.sh b/adventure/games/jeumarteau/rooms/white.sh similarity index 100% rename from games/jeumarteau/rooms/white.sh rename to adventure/games/jeumarteau/rooms/white.sh diff --git a/games/jeumarteau/script/opening.ben b/adventure/games/jeumarteau/script/opening.ben similarity index 100% rename from games/jeumarteau/script/opening.ben rename to adventure/games/jeumarteau/script/opening.ben diff --git a/games/jeumarteau/templates/meteo_chain.html b/adventure/games/jeumarteau/templates/meteo_chain.html similarity index 100% rename from games/jeumarteau/templates/meteo_chain.html rename to adventure/games/jeumarteau/templates/meteo_chain.html diff --git a/games/jeumarteau/templates/styles/bootstrap.min.css b/adventure/games/jeumarteau/templates/styles/bootstrap.min.css similarity index 100% rename from games/jeumarteau/templates/styles/bootstrap.min.css rename to adventure/games/jeumarteau/templates/styles/bootstrap.min.css diff --git a/games/jeumarteau/templates/styles/bootstrap.min.css.map b/adventure/games/jeumarteau/templates/styles/bootstrap.min.css.map similarity index 100% rename from games/jeumarteau/templates/styles/bootstrap.min.css.map rename to adventure/games/jeumarteau/templates/styles/bootstrap.min.css.map diff --git a/games/jeumarteau/templates/styles/decoration.css b/adventure/games/jeumarteau/templates/styles/decoration.css similarity index 100% rename from games/jeumarteau/templates/styles/decoration.css rename to adventure/games/jeumarteau/templates/styles/decoration.css diff --git a/games/jeumarteau/templates/styles/font-awesome.min.css b/adventure/games/jeumarteau/templates/styles/font-awesome.min.css similarity index 100% rename from games/jeumarteau/templates/styles/font-awesome.min.css rename to adventure/games/jeumarteau/templates/styles/font-awesome.min.css diff --git a/games/jeumarteau/templates/styles/forest.css b/adventure/games/jeumarteau/templates/styles/forest.css similarity index 100% rename from games/jeumarteau/templates/styles/forest.css rename to adventure/games/jeumarteau/templates/styles/forest.css diff --git a/games/jeumarteau/templates/styles/jqcloud.scss b/adventure/games/jeumarteau/templates/styles/jqcloud.scss similarity index 100% rename from games/jeumarteau/templates/styles/jqcloud.scss rename to adventure/games/jeumarteau/templates/styles/jqcloud.scss diff --git a/games/jeumarteau/templates/styles/jquery.css b/adventure/games/jeumarteau/templates/styles/jquery.css similarity index 100% rename from games/jeumarteau/templates/styles/jquery.css rename to adventure/games/jeumarteau/templates/styles/jquery.css diff --git a/games/jeumarteau/templates/styles/layout.css b/adventure/games/jeumarteau/templates/styles/layout.css similarity index 100% rename from games/jeumarteau/templates/styles/layout.css rename to adventure/games/jeumarteau/templates/styles/layout.css diff --git a/games/jeumarteau/templates/styles/logo.png b/adventure/games/jeumarteau/templates/styles/logo.png similarity index 100% rename from games/jeumarteau/templates/styles/logo.png rename to adventure/games/jeumarteau/templates/styles/logo.png diff --git a/games/jeumarteau/templates/styles/monokai.css b/adventure/games/jeumarteau/templates/styles/monokai.css similarity index 100% rename from games/jeumarteau/templates/styles/monokai.css rename to adventure/games/jeumarteau/templates/styles/monokai.css diff --git a/games/jeumarteau/templates/styles/pagination.css b/adventure/games/jeumarteau/templates/styles/pagination.css similarity index 100% rename from games/jeumarteau/templates/styles/pagination.css rename to adventure/games/jeumarteau/templates/styles/pagination.css diff --git a/games/jeumarteau/templates/styles/slick.css b/adventure/games/jeumarteau/templates/styles/slick.css similarity index 100% rename from games/jeumarteau/templates/styles/slick.css rename to adventure/games/jeumarteau/templates/styles/slick.css diff --git a/games/jeumarteau/templates/styles/slickstyle.css b/adventure/games/jeumarteau/templates/styles/slickstyle.css similarity index 100% rename from games/jeumarteau/templates/styles/slickstyle.css rename to adventure/games/jeumarteau/templates/styles/slickstyle.css diff --git a/games/jeumarteau/templates/styles/tagcloud.css b/adventure/games/jeumarteau/templates/styles/tagcloud.css similarity index 100% rename from games/jeumarteau/templates/styles/tagcloud.css rename to adventure/games/jeumarteau/templates/styles/tagcloud.css diff --git a/games/jeumarteau/templates/styles/video-js.css b/adventure/games/jeumarteau/templates/styles/video-js.css similarity index 100% rename from games/jeumarteau/templates/styles/video-js.css rename to adventure/games/jeumarteau/templates/styles/video-js.css diff --git a/games/jeumarteau/templates/styles/video-wall.css b/adventure/games/jeumarteau/templates/styles/video-wall.css similarity index 100% rename from games/jeumarteau/templates/styles/video-wall.css rename to adventure/games/jeumarteau/templates/styles/video-wall.css diff --git a/adventure/games/votrejeu/adventure.sh b/adventure/games/votrejeu/adventure.sh new file mode 100755 index 00000000..13dadcec --- /dev/null +++ b/adventure/games/votrejeu/adventure.sh @@ -0,0 +1,49 @@ +#!/bin/bash +################################################################### +# This Launch script is based on BashVenture. +# +# Remember, kids - sharing is caring! Keep it open. Spread the love. +# - @BenNunney +# Thanks and gratitude to all living creatures and the whole creation. +# - @Fred +# $AGE×365,25×24×60×60×9,807÷299792458 = RELATIVE LIGHT GRAVITY SPEED +################################################################### +# Guide avancé d'écriture des scripts Bash : https://abs.traduc.org/abs-fr/ +# GAMESHELL : https://github.com/phyver/GameShell/ +################################################################### +MY_PATH="`dirname \"$0\"`" # relative +MY_PATH="`( cd \"$MY_PATH\" && pwd )`" # absolutized and normalized +ME="${0##*/}" +################################################################### +### CREER VOTRE PROPRE VERSION DU JEU +### CHOISIR SCENARIO + +################################################################### +if hash uuidgen 2>/dev/null; then + homefolder=$(pwd) + newplayer=$(uuidgen) + ## Copy Player Game Files + mkdir -p $HOME/.zen/adventure/$newplayer + cp -r $MY_PATH/rooms $HOME/.zen/adventure/$newplayer/rooms + cp -r $MY_PATH/art $HOME/.zen/adventure/$newplayer/art + cp -r $MY_PATH/script $HOME/.zen/adventure/$newplayer/script + cp -r $MY_PATH/logic $HOME/.zen/adventure/$newplayer/logic +fi +################################################################### +echo "Loading..." +echo +sleep 4 +################################################################### +if hash uuidgen 2>/dev/null; then + cd $HOME/.zen/adventure/$newplayer/rooms +else + cd rooms +fi +./start.sh +################################################################### +if hash uuidgen 2>/dev/null; then + cd "$homefolder" + rm -r $HOME/.zen/adventure/$newplayer +fi +echo "To continue..." +exit