Skip to content

Instantly share code, notes, and snippets.

@chezsick
Last active July 14, 2018 13:04
Show Gist options
  • Save chezsick/8f3bcdda734167fb02f7486d8174502a to your computer and use it in GitHub Desktop.
Save chezsick/8f3bcdda734167fb02f7486d8174502a to your computer and use it in GitHub Desktop.
Jeu D'argent Dans Mon Monde à Phelÿn, Le Seul Pays Legal Ou Ont Peut Perdre Des Pièces :/
import blockrandom
box = [100,500,2500,10000,50000,75000,150000,250000,500000,1000000]
j = input("Combien Y'a T'il De Joueurs ? : ")
for i in range(j):
print("\nJoueur %s C'est A Vous !" %(i+1))
boxsh = blockrandom.shuffled(box)
p = input("Quelle Boite De 1 a 10 Vous Choisissez ? : ")
negboxsh = blockrandom.shuffled(boxsh)
n = input("Quelle Anti-Boite De 1 a 10 Vous Choisissez ? : ")
g = boxsh[p-1]-negboxsh[n-1]
if g < 0:
print("Vous Avez Perdu %s Pieces, Sous Votre Compte Voir De La Masse Monetaire :(" %(g))
if g > 0:
supboxsh = blockrandom.shuffled(negboxsh)
sup = input("Vous Avez Gagner, Mais Quelle Boite Supreme Vous Choisissez ? : ")
if supboxsh[sup-1] >= g:
print("Vous Avez Gagner %s Pieces, Vous Avez Contribuer A La Masse Monetaire :)" %(g))
else:
print("Vous Avez Rien Gagner Dommage :|")
if g == 0:
print("Vous Avez Zero Piece, Vous Avez Les Mains Vide :|")
print("Joueur %s : La Boite Est %s, L'anti-Boite Est %s Et La Boite Supreme Est %s" %(i+1,boxsh[p-1],negboxsh[n-1],supboxsh[sup-1]))
import blockrandom
box = [50,100,500,2500,10000,50000,75000,150000,250000,500000,1000000,5000000]
j = input("Combien Y'a T'il De Joueurs ? : ")
for i in range(j):
print("\nJoueur %s C'est A Vous !" %(i+1))
boxsh = blockrandom.shuffled(box)
p = input("Quelle Boite De 1 a 10 Vous Choisissez ? : ")
negboxsh = blockrandom.shuffled(boxsh)
n = input("Quelle Anti-Boite De 1 a 10 Vous Choisissez ? : ")
g = boxsh[p-1]-negboxsh[n-1]
if g < 0:
print("Vous Avez Perdu %s Pieces, Sous Votre Compte Voir De La Masse Monetaire :(" %(g))
if g > 0:
supboxsh = blockrandom.shuffled(negboxsh)
sup = input("Vous Avez Gagner, Mais Quelle Boite Supreme Vous Choisissez ? : ")
if supboxsh[sup-1] >= g:
print("Vous Avez Gagner %s Pieces, Vous Avez Contribuer A La Masse Monetaire :)" %(g))
else:
print("Vous Avez Rien Gagner Dommage :|")
if g == 0:
print("Vous Avez Zero Piece, Vous Avez Les Mains Vide :|")
print("Joueur %s : La Boite Est %s, L'anti-Boite Est %s Et La Boite Supreme Est %s" %(i+1,boxsh[p-1],negboxsh[n-1],supboxsh[sup-1]))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment