Commit c6d4166d authored by Jimmy DORE's avatar Jimmy DORE
Browse files

ajout fonction B2

parent a97a94c7
......@@ -5,9 +5,7 @@ def splitCubeImg(cube,imgRot):
sizeImg = len(imgSplit)
sizeDebutCube = sizeImg - sizeCube
for i in cubeSplit:
print(i)
print(len(i))
strImg = ""
i = 0
cptCube = 0
......@@ -29,23 +27,42 @@ def splitCubeImg(cube,imgRot):
strImg += cubeSplit[j]
return strImg
def img_B():
imgStr = ""
imgStr+=(" __________\n");
imgStr+=(" | |\n");
imgStr+=(" | |\n");
imgStr+=(" \/ |\n");
imgStr+=(" ___ ___ ___ |\n");
imgStr+=(" /___/___/___/| |\n");
imgStr+=(" /___/___/___/||____|\n");
imgStr+=(" /___/___/__ /|/| \n");
imgStr+=(" | | | | /|| \n");
imgStr+=(" |___|___|___|/|/| \n");
imgStr+=(" | | | | /|| \n");
imgStr+=(" |___|___|___|/|/ \n");
imgStr+=(" | | | | / \n");
imgStr+=(" |___|___|___|/ \n");
class AffichageMoves():
def img_B():
imgStr = ""
imgStr+=(" __________\n");
imgStr+=(" | |\n");
imgStr+=(" | |\n");
imgStr+=(" \/ |\n");
imgStr+=(" ___ ___ ___ |\n");
imgStr+=(" /___/___/___/| |\n");
imgStr+=(" /___/___/___/||____|\n");
imgStr+=(" /___/___/__ /|/| \n");
imgStr+=(" | | | | /|| \n");
imgStr+=(" |___|___|___|/|/| \n");
imgStr+=(" | | | | /|| \n");
imgStr+=(" |___|___|___|/|/ \n");
imgStr+=(" | | | | / \n");
imgStr+=(" |___|___|___|/ \n");
return imgStr
return imgStr
def img_B2():
imgStr = ""
imgStr+=(" __________\n");
imgStr+=(" | |\n");
imgStr+=(" | x2 |\n");
imgStr+=(" \/ |\n");
imgStr+=(" ___ ___ ___ |\n");
imgStr+=(" /___/___/___/| |\n");
imgStr+=(" /___/___/___/||____|\n");
imgStr+=(" /___/___/__ /|/| \n");
imgStr+=(" | | | | /|| \n");
imgStr+=(" |___|___|___|/|/| \n");
imgStr+=(" | | | | /|| \n");
imgStr+=(" |___|___|___|/|/ \n");
imgStr+=(" | | | | / \n");
imgStr+=(" |___|___|___|/ \n");
return imgStr
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment