Created attachment 87973 [details] Start and end of a 5-round game The attached montage shows the beginning and end of the first game showing the inconsistent references to the computer player's name. This is set to "Player 2" by default in the configuration settings. The status bar identifies the computer player as Player 2 at the beginning. However, at the end of the game, the status bar identifies the computer player as KSnakeDuel. The notification message always refers to the computer player as KSnakeDuel. The expected behavior is that the default name should be set to KSnakeDuel and all messages should use the provided name in the statusbar and notification messages. The fix is likely to be trivial, so please mark this as a junior job.
Created attachment 88671 [details] Change default name from "Player n" to "KSnakeDuel".
Posted patch does not fix issue. I posted the patch without testing all possible/feasible cases.
Created attachment 88683 [details] Fix for issue #337826 Calls to loadSettings for Tron and KTron implementations were out of order, causing old values to be displayed until a paintEvent was triggered by pressing movement keys to start a new game. The default value for the second player has also been changed to "KSnakeDuel".
Created attachment 88688 [details] Fix with indentation respect. Fix with indentation respect.