<commit_before>import help_screen as hs_m

class SettingsHelpScreen(hs_m.HelpScreen):

    def __init__(self, *args, **kwargs):
        self.heading = "Settings Help"
        super(SettingsHelpScreen, self).__init__(*args, **kwargs)

    def set_text(self):
        sc = self.ids.scrollable_id
        sc.text1 = """
The Setting screen allows you to change how you want PentAI to behave, for all future interaction.

[b]User Interface[/b]

[i]Mark Moves[/i]
 The last two moves can be marked with a dot in the centre to make it easier to see what has happened recently.

[i]Show Captures[/i]
 When pieces were captured last move, the removed pieces are shown as transparent ghost pieces, just for one turn. You can still move there.

[i]Move Confirmation[/i]
 If you find that you often slip when putting a piece on the board, you can turn on one of the move confirmation modes. [i]Off Board[/i] is the safest - when you get it in the right place, click anywhere below the board to confirm the move. [i]On Piece[/i] is for people who expect to have to double click move location to confirm a move.

[i]Minimum Wait Time[/i]
 If you find it disconcerting for the AI to play instantly, you can set the smallest time that AI players will take to make a move.

[i]Show Confirmation Popups[/i]
 Would you prefer to confirm major actions before making them?

[b]Players[/b]

[i]Rematch first player[/i]
 When you choose [i]Rematch[/i] in the game screen, who should go first in the next game? You decide who will go first, out of:
- [i]Don't swap[/i]
- [i]Always swap[/i]
- [i]Loser first[/i]

[i]First player colour[/i]
 Which colour should go first? If you have trouble remembering whether you are white or black, choose [i]Keep The Same[/i]
- [i]Always White[/i]
- [i]Always Black[/i]
- [i]Keep The Same[/i]

[b]Openings Book[/b]

[i]Add games[/i]
 Should completed games be added to the openings book?

[i]Build now[/i]
 The openings book takes a while to build, and takes a fair amount of space.
Expert players will want it be built in its entirity. Beginners will not notice a difference.
Some
The rest

[b]Sound[/b]

[i]Effects Volume[/i]
 You can adjust how loud the sound effects are.

[i]Tick[/i]
 If you play timed game a lot, the ticking noise can get annoying.

[i]Play win/loss sounds[/i]<commit_msg>Workaround for kivy issue with large scrolling<commit_after>import help_screen as hs_m

class SettingsHelpScreen(hs_m.HelpScreen):

    def __init__(self, *args, **kwargs):
        self.heading = "Settings Help"
        super(SettingsHelpScreen, self).__init__(*args, **kwargs)

    def set_text(self):
        sc = self.ids.scrollable_id
        sc.text1 = """
The Setting screen allows you to change how you want PentAI to behave, for all future interaction.

[b]User Interface[/b]

[i]Mark Moves[/i]
 The last two moves can be marked with a dot in the centre to make it easier to see what has happened recently.

[i]Show Captures[/i]
 When pieces were captured last move, the removed pieces are shown as transparent ghost pieces, just for one turn. You can still move there."""
        sc.text2 = """
[i]Move Confirmation[/i]
 If you find that you often slip when putting a piece on the board, you can turn on one of the move confirmation modes. [i]Off Board[/i] is the safest - when you get it in the right place, click anywhere below the board to confirm the move. [i]On Piece[/i] is for people who expect to have to double click move location to confirm a move.

[i]Minimum Wait Time[/i]
 If you find it disconcerting for the AI to play instantly, you can set the smallest time that AI players will take to make a move.

[i]Show Confirmation Popups[/i]
 Would you prefer to confirm major actions before making them?"""
        sc.text3 = """
[b]Players[/b]

[i]Rematch first player[/i]
 When you choose [i]Rematch[/i] in the game screen, who should go first in the next game? You decide who will go first, out of:
- [i]Don't swap[/i]
- [i]Always swap[/i]
- [i]Loser first[/i]

[i]First player colour[/i]
 Which colour should go first? If you have trouble remembering whether you are white or black, choose [i]Keep The Same[/i]
- [i]Always White[/i]
- [i]Always Black[/i]
- [i]Keep The Same[/i]"""
        sc.text4 = """
[b]Openings Book[/b]

[i]Add games[/i]
 Should completed games be added to the openings book?

[i]Build now[/i]
 The openings book takes a while to build, and takes a fair amount of space.
Expert players will want it be built in its entirity. Beginners will not notice a difference.
Some
The rest"""
        sc.text5 = """
[b]Sound[/b]

[i]Effects Volume[/i]
 You can adjust how loud the sound effects are.

[i]Tick[/i]
 If you play timed game a lot, the ticking noise can get annoying.

[i]Play win/loss sounds[/i]
{'fraction_non_alphanumeric': 0.0943356496104443, 'fraction_numerical': 0.0012634238787113076, 'mean_word_length': 3.754754754754755, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3379047', 'n_tokens_mistral': 1503, 'n_tokens_neox': 1423, 'n_words': 691}