✨
This commit is contained in:
3
main.py
3
main.py
@@ -26,7 +26,8 @@ def main_page():
|
||||
if game_encoding is None:
|
||||
game_encoding = "000000"
|
||||
game_state = decode_state(game_encoding)
|
||||
return flask.render_template("main_board.html", categories=QUESTIONS["categories"], game_state=game_encoding, draw_cells=game_state)
|
||||
empty = 36-sum(game_state)
|
||||
return flask.render_template("main_board.html", categories=QUESTIONS["categories"], game_state=game_encoding, draw_cells=game_state, empty=empty)
|
||||
|
||||
@app.route('/question')
|
||||
def question():
|
||||
|
||||
Reference in New Issue
Block a user