Compare commits

..
65 Commits
Author SHA1 Message Date
539943419 541f350c80 增强huangyi 2023-12-03 17:17:32 +08:00
539943419 2adbf25da3 fix a bug 2023-12-03 16:34:01 +08:00
539943419 048abac75e fix a bug in f42 2023-12-03 16:26:46 +08:00
539943419 ae237fa1d7 fix a bug in f42 2023-12-03 11:23:16 +08:00
539943419 65316ebd99 fix 2023-12-03 11:00:07 +08:00
539943419 e3c80c1fb9 add 2 skill 2023-12-03 10:55:18 +08:00
539943419 f3502d5f85 add character exchel 2023-12-03 01:47:07 +08:00
539943419 4b20f58984 update b7 & nike 2023-12-03 01:37:15 +08:00
539943419 af6e83f447 .. 2023-11-06 01:04:38 +08:00
539943419 461fa347f6 ud 2023-11-05 15:56:52 +08:00
539943419 833c37696b ud 2023-11-05 15:56:24 +08:00
539943419 2dec6c8e3c fix bugs 2023-11-05 02:19:13 +08:00
539943419 bc5a5c6013 ud mad 2023-10-25 20:52:02 +08:00
539943419 1871777a11 ... 2023-10-24 15:12:29 +08:00
539943419 dbfe0f5bfa ud 2023-10-22 22:41:22 +08:00
539943419 7057c5855d .. 2023-10-19 12:35:53 +08:00
539943419 66d8d37e5b fix 2023-10-19 02:56:03 +08:00
539943419 f4723b47c0 add a sb 2023-10-19 00:08:58 +08:00
539943419 112ed56432 .. 2023-10-18 22:43:52 +08:00
539943419 b7ffa7ba17 .. 2023-10-18 20:01:21 +08:00
539943419 3b8dd0aa4f Add a new character 2023-10-18 16:24:52 +08:00
539943419 0d7826b665 ... 2023-10-17 22:27:28 +08:00
539943419 ccc3d91a0d ud. 2023-10-17 16:33:20 +08:00
539943419 7d30ee00d7 ... 2023-10-17 12:17:57 +08:00
539943419 43c3b360f6 ud 2023-10-16 01:35:45 +08:00
539943419 d7aee70269 ... 2023-10-16 00:20:51 +08:00
539943419 b880fd399b ... 2023-10-15 16:05:05 +08:00
539943419 7878d12582 ud 2023-10-15 03:28:21 +08:00
539943419 95f67e6858 .. 2023-10-15 03:16:01 +08:00
539943419 ce9f236f17 .. 2023-10-14 22:26:50 +08:00
539943419 a9577558c9 ud 2023-10-14 17:47:09 +08:00
539943419 ed31b396b3 fix a bug in zioy_riyuexingkong 2023-10-14 17:42:05 +08:00
539943419 ed86c87573 .. 2023-10-14 16:26:18 +08:00
539943419 ea76ff48d1 ud ai 2023-10-14 15:54:42 +08:00
539943419 715ff37ae7 ud 2023-10-14 15:29:59 +08:00
539943419 384a47c50b ... 2023-10-14 15:27:50 +08:00
539943419 5e60731b51 error 2023-10-14 14:09:38 +08:00
539943419 3d1c2dbb2f ud 2023-10-14 12:51:13 +08:00
539943419 e8d7b68abc .. 2023-10-14 12:00:21 +08:00
539943419 e5f6e88fa4 add xiyuey 2023-10-14 11:49:09 +08:00
539943419 c61d1dd59b ... 2023-10-14 11:47:40 +08:00
539943419 93fa365f0b ... 2023-10-14 04:34:47 +08:00
539943419 b37f832562 ... 2023-10-14 03:06:11 +08:00
539943419 ccbe54d67d ... 2023-10-14 01:55:44 +08:00
539943419 626947bc66 .. 2023-10-14 01:33:03 +08:00
539943419 fbbe7f2c06 ud 2023-10-13 13:36:41 +08:00
539943419 1d068b0628 ... 2023-10-13 12:42:22 +08:00
539943419 c7f13c8a73 ... 2023-10-12 09:49:09 +08:00
539943419 35393dcf53 .. 2023-10-12 09:48:24 +08:00
539943419 edd9aeb063 .. 2023-10-11 23:33:07 +08:00
539943419 fdb2e49933 ud xh 2023-10-11 23:31:23 +08:00
539943419 975791994e ud 2023-10-11 23:18:01 +08:00
539943419 8e1a330158 fix a bug in zioy_zhoumingchuanxuan 2023-10-11 22:16:57 +08:00
539943419 93edc790a7 . 2023-10-11 20:48:55 +08:00
539943419 f362bf1e21 .. 2023-10-11 20:45:37 +08:00
539943419 6db1a71c27 。。。 2023-10-11 14:51:36 +08:00
539943419 4027dd855c update 2023-10-11 09:10:22 +08:00
539943419 e57d2c4555 update 2023-10-10 15:09:33 +08:00
539943419 256dac16cb update 2023-10-10 14:18:54 +08:00
539943419 3fd6159f52 update 2023-10-10 14:18:02 +08:00
539943419 e7b6e70b6f update 2023-10-10 11:42:56 +08:00
539943419 eb32faef47 update xuanhu 2023-10-10 00:50:23 +08:00
539943419 11adb1be2b fix some bugs 2023-10-10 00:18:36 +08:00
539943419 e196c6d8e0 update from phone 2023-10-10 00:17:25 +08:00
539943419 b20025670b hello miao 2023-10-10 00:12:51 +08:00
58 changed files with 9078 additions and 771 deletions

No files matched your search

-1
View File
@@ -1 +0,0 @@
Prettier Fixer.py
+83
View File
@@ -0,0 +1,83 @@
# 导入os模块,用于操作文件和目录
import os
from time import sleep
# 定义一个函数,接受一个文件名作为参数,返回修改后的内容
def modify_file(filename):
# 打开文件,以只读模式
with open(filename, 'r', encoding='UTF-8') as f:
# 读取文件的所有行,存入一个列表
lines = f.readlines()
# 创建一个空列表,用于存储修改后的行
new_lines = []
num = 0
# 遍历每一行
for line in lines:
if '"step 0";' in line:
line = line.replace('"step 0";', '"step 0"')
num+=1
if '("step 1");' in line:
line = line.replace('("step 1");', '"step 1"')
num+=1
if '("step 2");' in line:
line = line.replace('("step 2");', '"step 2"')
num+=1
if '("step 3");' in line:
line = line.replace('("step 3");', '"step 3"')
num+=1
if '("step 4");' in line:
line = line.replace('("step 4");', '"step 4"')
num+=1
if '("step 5");' in line:
line = line.replace('("step 5");', '"step 5"')
num+=1
if '("step 6");' in line:
line = line.replace('("step 6");', '"step 6"')
num+=1
if '("step 7");' in line:
line = line.replace('("step 7");', '"step 7"')
num+=1
if '("step 8");' in line:
line = line.replace('("step 8");', '"step 8"')
num+=1
if '("step 9");' in line:
line = line.replace('("step 9");', '"step 9"')
num+=1
if '("step 10");' in line:
line = line.replace('("step 10");', '"step 10"')
num+=1
print(line)
# 将修改后的行添加到新列表中
new_lines.append(line)
# 返回新列表中的所有行,用换行符连接
print("Successfully fixed " + str(num) +" code errors")
return ''.join(new_lines)
# 获取当前目录下的所有文件和子目录
flag = False
files = os.listdir('.')
# 遍历每一个文件或子目录
for file in files:
# 如果是文件,并且文件名是extension.js
if os.path.isfile(file) and file == 'extension.js':
# 调用函数,传入文件名,得到修改后的内容
content = modify_file(file)
# 打开文件,以写入模式,覆盖原内容
with open(file, 'w', encoding='UTF-8') as f:
# 写入修改后的内容
f.write(content)
flag = True
if os.path.isfile(file) and file == 'game.js':
# 调用函数,传入文件名,得到修改后的内容
content = modify_file(file)
# 打开文件,以写入模式,覆盖原内容
with open(file, 'w', encoding='UTF-8') as f:
# 写入修改后的内容
f.write(content)
flag = True
if flag:
pass
else:
print('ERROR')
sleep(3)
+8995 -770
View File
File diff suppressed because it is too large. Load diff
BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 352 KiB

BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 272 KiB

BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 297 KiB

BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 124 KiB

BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 756 KiB

BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 57 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 255 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.9 MiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 532 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 MiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 449 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 359 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 331 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 265 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 245 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 584 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 297 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 334 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 338 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 13 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 569 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 9.1 MiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 8.6 MiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 MiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 367 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 MiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 359 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 328 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 843 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 307 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 320 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 371 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 316 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 355 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 544 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 337 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 658 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 313 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 928 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 104 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 84 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 263 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 MiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 MiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 342 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 298 KiB

BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 157 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 279 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 480 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 MiB