iter52-卡1:迭代52卡①(minesweeper_rules公开面还债): safe_remaining私有化21→20(函数体逐字不动,测试4行改锚)——gdstyle S13归绿零新基线键,全仓.safe_remaining(零残留; 验收档中

This commit is contained in:
DKChan committed 2026-11-05 03:04:20 +08:00
1 parent 32f9be8c4d
commit 8aec7dbff1
25 files changed
+137 -226

No files matched your search

+2 -2
View File
@@ -98,7 +98,7 @@ func revealed_cells() -> Array:
return _revealed.keys()
func safe_remaining() -> int:
func _safe_remaining() -> int:
var n := 0
for c in _board.safe_cells():
if not _revealed.has(c):
@@ -107,7 +107,7 @@ func safe_remaining() -> int:
func clear_map_cleared() -> bool:
return safe_remaining() == 0
return _safe_remaining() == 0
# ---- 中立移除(P1 甲:邻接数字=原始雷数冻结零重算;P2 甲:移除格呈现退色降档;