XMWAI 0.2.1__py3-none-any.whl → 0.2.3__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of XMWAI might be problematic. Click here for more details.

XMWAI/bomb_core.py CHANGED
@@ -3,9 +3,10 @@ import time
3
3
  from importlib.resources import files
4
4
  from pathlib import Path
5
5
 
6
- def bomb(screen, x, y):
6
+ def bomb(screen, t):
7
7
  """显示炸弹爆炸动画(包含坐标检查和自动预加载)"""
8
-
8
+ x = t.xcor()
9
+ y = t.ycor()
9
10
  # 坐标检查:不能打击自己
10
11
  if x == 0 and y == 0:
11
12
  screen.tracer(False)
@@ -49,8 +50,7 @@ def bomb(screen, x, y):
49
50
  # 显示文本信息
50
51
  b.hideturtle()
51
52
  text = f" 💥 成功打击\n坐标({x}, {y})"
52
- b.pencolor("white")
53
- b.goto(x, y - 35)
53
+ b.goto(x, y - 55)
54
54
  b.write(text, align="center", font=("微软雅黑", 12))
55
55
 
56
56
  screen.update()
XMWAI/core.py CHANGED
@@ -222,7 +222,7 @@ def crack(name, pwd):
222
222
  try:
223
223
  zFile=zipfile.ZipFile(name + ".zip")
224
224
  zFile.extractall(pwd=str(pwd).encode())
225
- print("已成功破解密码:",pwd)
225
+ print("已成功破解密码")
226
226
  os.system("Treasuremap.png")
227
227
  except:
228
228
  print("密码错误")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: XMWAI
3
- Version: 0.2.1
3
+ Version: 0.2.3
4
4
  Summary: Small code King AI related library
5
5
  Home-page: https://github.com/Tonykai88/XMWAI.git
6
6
  Author: pydevelopment
@@ -1,6 +1,6 @@
1
1
  XMWAI/__init__.py,sha256=A0lYc0BhFCbuZC-F4Qkd2tutd-yc-zA_kQ_Rhv-VjjI,510
2
- XMWAI/bomb_core.py,sha256=dRORqAyhItkFuMUHAN0vwQcvrvb3C5X18hmaUMJ0hhE,1708
3
- XMWAI/core.py,sha256=wo4ruTUBoGm2L4wzNLEpQr_mwEdcUF1C8V2MoqjLM9Q,8056
2
+ XMWAI/bomb_core.py,sha256=eEC-PjN77CMKEVYEd1_WOsaFIHe9QD_28ti6UEuP9Ek,1714
3
+ XMWAI/core.py,sha256=Z20Q0v2wvE8-70Ulxxc_vpXI-Z86PwNMw9fW1J3zkQo,8049
4
4
  XMWAI/idiom.json,sha256=HUtPRUzhxBbWoasjadbmbA_5ngQ5AXLu9weQSZ4hzhk,10319857
5
5
  XMWAI/idiom_core.py,sha256=0Uu9GxVwEvFAhjj0M2Orw-E9FjKT05jKQDbUvg0wAXE,1577
6
6
  XMWAI/magic_core.py,sha256=XU7K4Ta7EAvwBLk20_Hlu18E6Kz8B0HxUBq0YsawikE,3441
@@ -91,8 +91,8 @@ XMWAI/gif/84.gif,sha256=6Ip_uQmvrr2fagLXu1YqWyI_DL2PVVtKCPtmNtzt3P4,38767
91
91
  XMWAI/gif/85.gif,sha256=6Ip_uQmvrr2fagLXu1YqWyI_DL2PVVtKCPtmNtzt3P4,38767
92
92
  XMWAI/gif/9.gif,sha256=cPouth-xwc3QPcg2m6HMP2OD1ZCeRBD_-RPImvvKAA0,9485
93
93
  XMWAI/gif/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
94
- xmwai-0.2.1.dist-info/licenses/LICENSE.txt,sha256=bcaIQMrIhdQ3O-PoZlexjmW6h-wLGvHxh5Oksl4ohtc,1066
95
- xmwai-0.2.1.dist-info/METADATA,sha256=tiaKgkg4wcPQAwXM7OT8r3h6XHQWb4joWsccG4kmLIQ,1033
96
- xmwai-0.2.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
97
- xmwai-0.2.1.dist-info/top_level.txt,sha256=yvGcDI-sggK5jqd9wz0saipZvk3oIE3hNGHlqUjxf0c,6
98
- xmwai-0.2.1.dist-info/RECORD,,
94
+ xmwai-0.2.3.dist-info/licenses/LICENSE.txt,sha256=bcaIQMrIhdQ3O-PoZlexjmW6h-wLGvHxh5Oksl4ohtc,1066
95
+ xmwai-0.2.3.dist-info/METADATA,sha256=iZN1DcwEqo-1R2q3V9rKXj8J6TWDRhOd5mTrO1bH_Hw,1033
96
+ xmwai-0.2.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
97
+ xmwai-0.2.3.dist-info/top_level.txt,sha256=yvGcDI-sggK5jqd9wz0saipZvk3oIE3hNGHlqUjxf0c,6
98
+ xmwai-0.2.3.dist-info/RECORD,,
File without changes