Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
yugioh-ccb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
yugioh-ccb
Commits
290167fc
Commit
290167fc
authored
May 02, 2025
by
EN1AK
Committed by
GitHub
May 02, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update guess_card_game.py
parent
7235fd83
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
guess_card_game.py
guess_card_game.py
+2
-2
No files found.
guess_card_game.py
View file @
290167fc
...
@@ -33,7 +33,7 @@ def filter_db(mode):
...
@@ -33,7 +33,7 @@ def filter_db(mode):
# all
# all
return
db
return
db
db
=
load_card_database
()
@
app
.
route
(
"/"
,
methods
=
[
"GET"
,
"POST"
])
@
app
.
route
(
"/"
,
methods
=
[
"GET"
,
"POST"
])
def
start
():
def
start
():
"""游戏开始前,选择卡牌范围和猜测次数"""
"""游戏开始前,选择卡牌范围和猜测次数"""
...
@@ -233,7 +233,7 @@ def suggest():
...
@@ -233,7 +233,7 @@ def suggest():
if
__name__
==
"__main__"
:
if
__name__
==
"__main__"
:
db
=
load_card_database
()
host
=
"0.0.0.0"
host
=
"0.0.0.0"
port
=
int
(
os
.
environ
.
get
(
"PORT"
,
5000
))
port
=
int
(
os
.
environ
.
get
(
"PORT"
,
5000
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment