为甚么我无法打包它,我用auto-py-to-exe无法打包它,有大佬能告诉我吗? #143649
Unanswered
King-XVX
asked this question in
Programming Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Body
打包它
import pygame
import turtle as t
pygame.init()
screen = pygame.display.set_mode((750, 750))
zuobianyuan = 25
youbianyuan = 725
dingbubianyuan = 25
dibubianyuan = 25
kuan = 50
gaodu = 50
m = [0]*16
for i in range(16):
m[i] = [0]*16
player = 1
winner = 0
running = True
def check(row, col):
while running:
for event in pygame.event.get():
if event.type == pygame.QUIT:
running = False
elif event.type == pygame.MOUSEBUTTONDOWN:
x, y = pygame.mouse.get_pos()
col = round((x - 25)/50)
row = round((y - 25)/50)
if m[row][col] == 0:
print(row, col)
竖线
横线
pygame.quit()
这是一段我闲暇时间制作的游戏,我想要打包它发给我的同学,但是我用的auto-py-to-exe无法打包它,谁可以帮助我。哦!它要是不去翻译那些变量该多好呀。
This is a game I made in my spare time, I want to package it and send it to my classmates, but the auto-py-to-exe I used can't package it, who can help me? Ouch! If only it didn't have to translate those variables.
我不确定这个讨论会不会有什么问题,我是个新手
Guidelines
Beta Was this translation helpful? Give feedback.
All reactions