diff options
| author | Karan Jayachandra <karan.jayachandra@nxp.com> | 2024-10-04 18:39:27 +0200 |
|---|---|---|
| committer | Karan Jayachandra <karan.jayachandra@nxp.com> | 2024-10-04 18:39:27 +0200 |
| commit | 39a01979a470e836da1128503e4587cb76eeae33 (patch) | |
| tree | fb77504a341af38242572de7d72758da943cd938 /app.py | |
| parent | 88d7300021cd3963f2d6a6202609b0f6e956cdab (diff) | |
Added the randomization and the persistent memory
Diffstat (limited to 'app.py')
| -rw-r--r-- | app.py | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -36,9 +36,10 @@ def home(): @app.route("/new-games", methods=["POST"]) def get_new_games(): + GAME_GENERATOR.create_games(PLAYER_LIST.get_active_players()) return render_template( "games.j2", - games=GAME_GENERATOR.create_games(PLAYER_LIST.get_active_players()), + games=GAME_GENERATOR.games, ) @@ -46,7 +47,7 @@ def get_new_games(): def get_list_of_games(): return render_template( "games.j2", - games=GAME_GENERATOR.create_games(PLAYER_LIST.get_active_players()), + games=GAME_GENERATOR.games, ) |
