Skip to content

msccreater/LightsOut

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🔦 Lights Out

基于 Godot 4 的经典熄灯解谜游戏,包含 20 个精心设计的关卡和自动解答功能。

📸 游戏截图

游戏界面 关卡选择

🎮 玩法

  • 点击格子切换自己和相邻格子的状态
  • 目标:熄灭所有灯光

✨ 特性

  • 20 个独特关卡(Plus → All On)
  • 内置自动解答求解器
  • Shader 渐变 UI
  • 步数统计与撤销

🚀 快速开始

  1. 克隆仓库
  2. 用 Godot 4 打开 project.godot
  3. 按 F5 运行

🧮 数学原理

基于 GF(2) 上的高斯消元,转移矩阵秩为 23,零空间维度为 2。 20 个关卡均经过求解器验证,确保每关有解。

🛠️ 技术栈

  • Godot 4.x + GDScript
  • 线性代数求解器

About

使用Godot4.x学习复刻经典推LightsOut

Resources

Stars

Watchers

Forks

Contributors