Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -29,6 +29,11 @@ def init_game(username, loadout):
|
|
29 |
"in_gulag": False
|
30 |
}
|
31 |
|
|
|
|
|
|
|
|
|
|
|
32 |
@app.route("/start", methods=["GET"])
|
33 |
def start():
|
34 |
user = request.args.get("user")
|
|
|
29 |
"in_gulag": False
|
30 |
}
|
31 |
|
32 |
+
@app.route("/")
|
33 |
+
def home():
|
34 |
+
return "Welcome to the BR game API! Use /start, /fight, or /gulag."
|
35 |
+
|
36 |
+
|
37 |
@app.route("/start", methods=["GET"])
|
38 |
def start():
|
39 |
user = request.args.get("user")
|