Skip to content

User flow on launching GUI without a game loaded#842

Merged
tturocy merged 11 commits into
masterfrom
issue_80
Jun 3, 2026
Merged

User flow on launching GUI without a game loaded#842
tturocy merged 11 commits into
masterfrom
issue_80

Conversation

@tturocy

@tturocy tturocy commented Apr 17, 2026

Copy link
Copy Markdown
Member

This is WIP towards a solution to #80.

Rather than re-using a frame as suggested by #80, this proposes a bit more modern style, whereby if a game is not loaded on the command-line (or otherwise at launch), there's a "welcome" frame that offers the ability to load a game, or to create a new one. This "welcome" frame is then dismissed after a game is loaded. So, this has roughly the same effect as intended by #80, although the mechanism is slightly different.

I would like to get views on:

  • Does this work well / look decent on other platforms (I've only looked at MacOS);
  • Any suggestions for improvements, or things that don't quite work right (try to break it!)

@tturocy tturocy added this to the gambit-16.7.0 milestone Apr 17, 2026
@tturocy tturocy linked an issue Apr 17, 2026 that may be closed by this pull request
@tturocy

tturocy commented Apr 20, 2026

Copy link
Copy Markdown
Member Author

I have also added to this now a new dialog that prompts for dimensions of a normal form game before creating it - I think it make sense to bundle this here as it's all under "ease of startup/creating a new game".

@tturocy tturocy marked this pull request as ready for review June 3, 2026 09:50
@tturocy tturocy merged commit 332fdec into master Jun 3, 2026
26 checks passed
@tturocy tturocy deleted the issue_80 branch June 3, 2026 10:37
d-kad pushed a commit to d-kad/gambit that referenced this pull request Jun 3, 2026
This introduces a welcome dialog/window which appears if the GUI is launched without a game loaded.  This window allows the user to choose the game type to create, or to load a saved game.

No longer is the user just given an extensive game window with a trivial extensive game to start, which they then have to dismiss if they do not want to build a new game tree.

Closes gambitproject#80.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ENH: Re-use graphical interface window from trivial game

1 participant