sewing the code nox
This commit is contained in:
parent
453f1b6ca4
commit
3ed67d7209
52
start.sh
52
start.sh
|
@ -17,11 +17,11 @@ echo '
|
||||||
/_/ \_\____/ |_| |_| \_\\___/|_| \___/|_| \_\|_| \___/|_| \_|_____|
|
/_/ \_\____/ |_| |_| \_\\___/|_| \___/|_| \_\|_| \___/|_| \_|_____|
|
||||||
|
|
||||||
|
|
||||||
ASTROPORT is a peer to peer friends of friends real life game based on IPFS.
|
ASTROPORT is a peer to peer friends of friends real life game run on IPFS.
|
||||||
Join the OASIS so we fix the world together.
|
Build an OASIS or join the local crew
|
||||||
|
|
||||||
@@@@@@@@@@@@@@
|
@@@@@@@@@@@@@@
|
||||||
ACTUAL PLAYERS
|
OASIS ACTUAL PLAYERS
|
||||||
@@@@@@@@@@@@@@
|
@@@@@@@@@@@@@@
|
||||||
'
|
'
|
||||||
|
|
||||||
|
@ -30,29 +30,33 @@ ACTUAL PLAYERS
|
||||||
|
|
||||||
mkdir -p ~/.zen/tmp
|
mkdir -p ~/.zen/tmp
|
||||||
mkdir -p ~/.zen/game/players
|
mkdir -p ~/.zen/game/players
|
||||||
|
mkdir -p ~/.zen/game/players
|
||||||
|
|
||||||
|
## CHECK CONNECTED USER
|
||||||
|
if [[ -e ~/.zen/game/players/.current ]]; then
|
||||||
|
echo "WELCOME $(cat ~/.zen/game/players/.current/.pseudo)"
|
||||||
|
PLAYER=$(cat ~/.zen/game/players/.current/.player)
|
||||||
|
else
|
||||||
|
PS3='Choisissez ou créez votre identité : '
|
||||||
|
players=($(ls ~/.zen/game/players) "NOUVEAU VISA")
|
||||||
|
select fav in "${players[@]}"; do
|
||||||
|
case $fav in
|
||||||
|
"NOUVEAU VISA")
|
||||||
|
fav=$(${MY_PATH}/tools/VISA.new.sh quiet | tail -n 1)
|
||||||
|
break
|
||||||
|
;;
|
||||||
|
"")
|
||||||
|
echo "Choix obligatoire. exit"
|
||||||
|
exit
|
||||||
|
;;
|
||||||
|
*) echo "Salut $fav"
|
||||||
|
break
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
|
||||||
## VERIFY MadeInZion VISA OWNERSHIP
|
PLAYER=$fav
|
||||||
# AONE=$(zenity --entry --width 300 --title="Astroport ONE" --text="Connectez vous Astroport One?" --entry-text="OUI" NON)
|
fi
|
||||||
PS3='Choisissez ou créez votre identité : '
|
|
||||||
players=($(ls ~/.zen/game/players) "NOUVEAU VISA")
|
|
||||||
select fav in "${players[@]}"; do
|
|
||||||
case $fav in
|
|
||||||
"NOUVEAU VISA")
|
|
||||||
fav=$(${MY_PATH}/tools/VISA.new.sh quiet | tail -n 1)
|
|
||||||
break
|
|
||||||
;;
|
|
||||||
"")
|
|
||||||
echo "Choix obligatoire. exit"
|
|
||||||
exit
|
|
||||||
;;
|
|
||||||
*) echo "Salut $fav"
|
|
||||||
break
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
done
|
|
||||||
|
|
||||||
PLAYER=$fav
|
|
||||||
echo "SVP entrez votre PASS $fav"
|
echo "SVP entrez votre PASS $fav"
|
||||||
rm -f ~/.zen/game/players/.current
|
rm -f ~/.zen/game/players/.current
|
||||||
ln -s ~/.zen/game/players/$PLAYER ~/.zen/game/players/.current
|
ln -s ~/.zen/game/players/$PLAYER ~/.zen/game/players/.current
|
||||||
|
|
18
story.fr.txt
18
story.fr.txt
|
@ -1,12 +1,12 @@
|
||||||
# ASTROPORT One
|
# ASTROPORT One
|
||||||
Un JEu pour terraformer la planète sur IPFS
|
Un JEu pour terraformer la planète sur IPFS
|
||||||
|
ipfs ls Qme6a6RscGHTg4e1XsRrpRoNbfA6yojC6XNCBrS8nPSEox/
|
||||||
|
ipfs cat QmbfVUAyX6hsxTMAZY7MhvUmB3AkfLS7KqWihjGfu327yG /tmp/vdoc.pub_the-barefoot-architect.pdf
|
||||||
|
|
||||||
Bienvenue.
|
Bienvenue dans la confédération intergalactique
|
||||||
|
|
||||||
La confédération intergalactique vient de choisir votre planète pour y établir une expérience.
|
|
||||||
|
|
||||||
DELARATION DES LIEUX
|
DELARATION DES LIEUX
|
||||||
~/.zen/game/places
|
~/.zen/game/lieux
|
||||||
|
|
||||||
- Coord GPS - Map Minetest
|
- Coord GPS - Map Minetest
|
||||||
- niveaux autonomie
|
- niveaux autonomie
|
||||||
|
@ -22,4 +22,12 @@ NAVIGATEUR JOUEUR
|
||||||
~/.zen/game/players
|
~/.zen/game/players
|
||||||
|
|
||||||
|
|
||||||
ipfs ls Qme6a6RscGHTg4e1XsRrpRoNbfA6yojC6XNCBrS8nPSEox/
|
|
||||||
|
|
||||||
|
CHOIX DE CONVENTION SYSTEME DE FICHIER
|
||||||
|
Chaque fichier est ajouté à ipfs ajoute le fichier .ipfs contenant le lien IPFS du fichier de même nom sans extension .ipfs ?
|
||||||
|
|
||||||
|
|
||||||
|
TODO
|
||||||
|
AJOUTER des worlists au choix par oasis https://diceware.readthedocs.io/en/stable/wordlists.html
|
||||||
|
TRADUIRE
|
||||||
|
|
Loading…
Reference in New Issue