From 80a0cce940c9914cc5e78ffe3921211974554bda Mon Sep 17 00:00:00 2001 From: st2411020112 <839319171@qq.com> Date: Fri, 9 Jan 2026 09:56:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=EF=BC=9A=E6=B7=BB=E5=8A=A0ma?= =?UTF-8?q?in()=E5=87=BD=E6=95=B0=E8=B0=83=E7=94=A8=E4=BB=A5=E8=A7=A3?= =?UTF-8?q?=E5=86=B3=E9=A1=B5=E9=9D=A2=E7=A9=BA=E7=99=BD=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- idiom_solitaire.py | 5 ++++- pyproject.toml | 1 - 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/idiom_solitaire.py b/idiom_solitaire.py index f9f29b3..89fb5d8 100644 --- a/idiom_solitaire.py +++ b/idiom_solitaire.py @@ -611,4 +611,7 @@ def main(): st.write("2. 成语不能重复使用") st.write("3. 支持谐音接龙") st.write("4. 游戏由AI生成第一个成语,之后由AI和玩家交替接龙") - st.write("5. AI会验证你的回答是否正确") \ No newline at end of file + st.write("5. AI会验证你的回答是否正确") + +if __name__ == "__main__": + main() \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 5d37f80..054a9e4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,7 +10,6 @@ requires = ["setuptools>=61.0"] build-backend = "setuptools.build_meta" [tool.uv] -environments = ["default"] [tool.uv.environment.default] python = ">=3.12"