You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the program on slow machines (e.g., HP 1000 with an Intel Core i3 processor) and large game boards (e.g., 7 rows by 10 columns), the UI does not refresh properly during the "Thinking..." phase. As a result, the arrow buttons, which should appear after the calculations, are not displayed automatically.
Steps to Reproduce:
Run the program on a slow machine (e.g., HP 1000 with an Intel Core i3 processor).
Set up a game board with dimensions of 7 rows by 10 columns.
Wait for the program to finish calculating during the "Thinking..." phase.
Observe that the "Averages" button does not appear automatically.
Expected Behavior:
The UI should refresh automatically, and the arrow buttons should appear once the calculations are complete.
Observed Behavior:
The program seems to get stuck in the "Thinking..." phase, and the user has to manually click the "Refresh" button in the web browser to make the arrow buttons appear.
Possible Cause:
This issue may be due to a lack of UI updates during computationally intensive tasks. The application might not be yielding control back to the event loop to allow for UI refreshes.
Suggested Solution:
Implement periodic UI updates during the "Thinking..." phase by using asynchronous tasks or explicit UI refresh calls (e.g., await ui.update()) to prevent the application from becoming unresponsive.
The text was updated successfully, but these errors were encountered:
Problem:
When using the program on slow machines (e.g., HP 1000 with an Intel Core i3 processor) and large game boards (e.g., 7 rows by 10 columns), the UI does not refresh properly during the "Thinking..." phase. As a result, the arrow buttons, which should appear after the calculations, are not displayed automatically.
Steps to Reproduce:
Expected Behavior:
The UI should refresh automatically, and the arrow buttons should appear once the calculations are complete.
Observed Behavior:
The program seems to get stuck in the "Thinking..." phase, and the user has to manually click the "Refresh" button in the web browser to make the arrow buttons appear.
Possible Cause:
This issue may be due to a lack of UI updates during computationally intensive tasks. The application might not be yielding control back to the event loop to allow for UI refreshes.
Suggested Solution:
Implement periodic UI updates during the "Thinking..." phase by using asynchronous tasks or explicit UI refresh calls (e.g.,
await ui.update()
) to prevent the application from becoming unresponsive.The text was updated successfully, but these errors were encountered: