GNOME Bugzilla – Bug 762042
[PATCH] Allow selecting the number of AI players for a game
Last modified: 2016-02-15 16:35:17 UTC
Created attachment 321143 [details] [review] Allow selecting the number of AI players I've added a new row of buttons so the user is now able to select the number of computer players. We have to prevent having more than 6 worms (humans + AI) but I'm not 100% sure it's a great idea to have buttons disappearing/appearing every time something is selected. I'm open to ideas.
(In reply to Iulian Radu from comment #0) > I'm not 100% sure it's a great idea to have buttons > disappearing/appearing every time something is selected. I think it actually works pretty well, except you should make sure the changing number of buttons does not affect the window size at the minimum size. E.g. select four human players, resize the window down, then select one human: the screen will expand. Also, I think four should remain the default number of AI worms in one-player games; don't want 1v1 to be the default experience.
We should also remember the previous setting and default to that on the next startup.
Created attachment 321271 [details] [review] Allow selecting the number of AI players