diff --git a/main.py b/main.py index 7b57afd..9f3d5f6 100644 --- a/main.py +++ b/main.py @@ -171,9 +171,9 @@ while run: if win: - text = "You win!" + text = "You Win!" else: - text = ":(" + text = "Game Over :(" text = my_font.render(text, True, (255, 255, 255)) diff --git a/settings.py b/settings.py index 0e12d9a..ab60db6 100644 --- a/settings.py +++ b/settings.py @@ -22,14 +22,16 @@ for v_up in values: # в каждом по 8 str_values = { 0: ["32*0", "2^2-4", "7-3.5*2", "-5+2.5*2", "0-0+0", "0/43", "False", "[1, 0][1]", "8*(3-3)", "not 3", - "6+6-6+6-6-6"], + "6+6-6+6-6-6", "sum([1,-1])"], 1: ["0^0", "24/24", "True", "23>4", "1 or 0", "10-1*9", "sqrt(1)", "5^1/5", "7-6", "1!", "36/6^2", "-2+3", - "if 'str'", "bool(-3)"], - 2: ["2!", "8^0.34", "int(e)", "True+True", "14/7", "sqrt(4)", "sqrt(4)^2", "int('2')", "(1<3)*2", "3-1", "1+1"], + "if 'str'", "bool(-3)", "min({1,43})"], + 2: ["2!", "8^0.34", "int(e)", "True+True", "14/7", "sqrt(4)", "sqrt(4)^2", "int('2')", "(1<3)*2", "3-1", "1+1", + "[7,7].count(7)"], 3: ["2!*1.5", "9/3", "round(pi)", "sqrt(9)", "(18/2)^0.5", "True*3", "5-2", "6/2", "3+0^1", "0^0*3", "round(3)"], 4: ["2*2", "3+1*1", "0+4", "int(e)*2", "8/2", "6-3+1", "(8+4)/3", "int('5')-1", "int(float(str(4.9)))", "sqrt(16)"], 5: ["10/2", "25^0.5", "2*5/2", "4!-19", "True*10/2", "3+2", "100/20", "4*1.25", "int(5.839)", "5+5-5+5-5", "2.5*2"], - 6: ["3!", "2+2*2", "round(pi)*2", "(if 6>1)*6", "10-4", "24/4", "sqrt(12*3)", "3^2-3", "2*(4-1)", "{1,3,6}[2]"] + 6: ["3!", "2+2*2", "round(pi)*2", "(if 6>1)*6", "10-4", "24/4", "sqrt(12*3)", "3^2-3", "2*(4-1)", "{1,3,6}[2]", + "max((6,5))"] } for i in range(len(DOMINOS)):