Skip to content

Commit 1115343

Browse files
committed
3.1.8
1 parent db9d0a8 commit 1115343

File tree

2 files changed

+12
-8
lines changed

2 files changed

+12
-8
lines changed

README.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# MetaSweeper-v3.1.7 —— project with 8 modes of minesweeper, third generation minesweeper video player and high performance algorithm toolbox
1+
# MetaSweeper-v3.1.8 —— project with 8 modes of minesweeper, third generation minesweeper video player and high performance algorithm toolbox
22

3-
# 元扫雷v3.1.7 —— 包含8种模式的扫雷项目、第三代扫雷录像播放器及高性能算法工具箱
3+
# 元扫雷v3.1.8 —— 包含8种模式的扫雷项目、第三代扫雷录像播放器及高性能算法工具箱
44

55
[![MetaSweeper](https://img.shields.io/badge/MetaSweeper-v3.1.6-brightgreen.svg)](https://github.com/eee555/Solvable-Minesweeper)
66
[![stars](https://img.shields.io/github/stars/eee555/Solvable-Minesweeper)](https://github.com/eee555/Solvable-Minesweeper/stargazers)
@@ -9,7 +9,7 @@
99

1010
## 简介
1111

12-
元扫雷v3.1.7是由热爱扫雷的玩家开发的扫雷游戏。这个项目并非简单重复已有的工作,而是集中了一批扫雷游戏的现代化设计。
12+
元扫雷v3.1.8是由热爱扫雷的玩家开发的扫雷游戏。这个项目并非简单重复已有的工作,而是集中了一批扫雷游戏的现代化设计。
1313

1414
优势:
1515

@@ -39,7 +39,7 @@
3939

4040
## Introduction
4141

42-
Minesweeper v3.1.7 is a mineswering game developed by players who are passionate about the game. This project is not a simple repetition of existing work, but a concentration of modern design elements for minesweeper games.
42+
Minesweeper v3.1.8 is a mineswering game developed by players who are passionate about the game. This project is not a simple repetition of existing work, but a concentration of modern design elements for minesweeper games.
4343

4444
Advantages:
4545

@@ -155,6 +155,10 @@ Currently in the lengthy development phase, with updates approximately every 1 t
155155

156156
## 下载链接
157157

158+
### 正式版v3.1.8:
159+
160+
修复了7个bug,包括弱可猜模式可能踩雷;用设置修改尺寸时,布局出错;使用快捷键切换模式时,部分操作引发异常等。提高了对某种作弊手段的防御能力。升级了录像格式到evf-v0.3。
161+
158162
### 正式版v3.1.7:
159163

160164
修复了因舍入导致的一些问题。设计了更美观的图标。升级了录像格式到evf-v0.2。

src/mineSweeperGUI.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -530,9 +530,9 @@ def gameWin(self): # 成功后改脸和状态变量,停时间
530530
def checksum_module_ok(self):
531531
# 检查校验和模块的签名
532532
# 调试的时候不会自动存录像,除非将此处改为return True
533-
return True
534-
# return hashlib.sha256(bytes(metaminesweeper_checksum.get_self_key())).hexdigest() ==\
535-
# '590028493bb58a25ffc76e2e2ad490df839a1f449435c35789d3119ca69e5d4f'
533+
# return True
534+
return hashlib.sha256(bytes(metaminesweeper_checksum.get_self_key())).hexdigest() ==\
535+
'590028493bb58a25ffc76e2e2ad490df839a1f449435c35789d3119ca69e5d4f'
536536

537537
def save_evf_file(self):
538538
# 搜集本局各种信息,存成evf文件
@@ -546,7 +546,7 @@ def save_evf_file(self):
546546
# if self.label.ms_board.is_fair and self.label.ms_board.is_offical:
547547
# self.label.ms_board.checksum = metaminesweeper_checksum.get_checksum()
548548
# self.label.ms_board.mode = self.gameMode
549-
self.label.ms_board.software = "元3.1.7".encode( "UTF-8" )
549+
self.label.ms_board.software = "元3.1.8".encode( "UTF-8" )
550550
self.label.ms_board.player_designator = self.player_designator.encode( "UTF-8" )
551551
self.label.ms_board.race_designator = self.race_designator.encode( "UTF-8" )
552552
self.label.ms_board.country = self.country.encode( "UTF-8" )

0 commit comments

Comments
 (0)