This file is indexed.

/usr/share/tuxmath/missions/options is in tuxmath-data 2.0.3-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
############################################################
#                                                          #
#              Tuxmath Configuration File                  #
#                                                          #
# The behavior of Tuxmath can be controlled to a great     #
# extent by editing this file with any and saving it in    #
# the default options location ($HOME/.tuxmath/options).   #
# The file consists of 'NAME = VALUE' pairs, one pair per  #
# line. Each option is one of the following types:         #
#                                                          #
#     boolean: 1 (synonyms 'true', 'T', 'yes', 'Y', 'on')  #
#              or                                          #
#              0 (synonyms 'false, 'F', 'no', 'N', 'off')  #
#     integer  (i.e. non-fractional numbers)               #
#     float    (i.e decimal fractions)                     #
#                                                          #
# Lines beginning with '#' or ';' are ignored as comments. #
# The synonyms for boolean '0' and '1' are accepted as     #
# input, but always written as '0' or '1' when Tuxmath     #
# writes a config file to disk.                            #
# The file is organized with the more important options    #
# first.                                                   #
############################################################

############################################################
#                                                          #
#                       Game Mode                          #
#                                                          #
# Parameter: play_through_list (Boolean)                   #
# Default: 1                                               #
#                                                          #
# Tuxmath generates a list of math questions based on      #
# parameters set below.  By default, (play_through_list =  #
# 1) the questions are asked in a random order.            #
# Correctly answered questions are removed from the list.  #
# If the player fails to correctly answer a question       #
# before it hits a city, the question will be reinserted   #
# into the list in a random location.                      #
# The player wins if all questions are answered correctly  #
# before the cities are destroyed.                         #
#                                                          #
# Alternatively, Tuxmath can be played in 'Arcade Mode'    #
# by setting play_through_list = 0 (i.e. 'false'). If this #
# is done, all questions will be randomly reinserted into  #
# the list whether or not they are answered correctly, and #
# the game continues as long as there is a surviving city. #
############################################################

play_through_list = 1

############################################################
#                                                          #
#                 Speed and Number of Comets               #
#                                                          #
# Parameter: allow_speedup (boolean)                       #
# Default: 1                                               #
# Parameter: use_feedback  (boolean)                       #
# Default: 0                                               #
#                                                          #
# By default, the comets become faster and more numerous   #
# with each succeeding. The increase can be prevented      #
# by setting 'allow_speedup' to 0.                         #
#                                                          #
# If 'allow_speedup' is enabled, it is also possible to    #
# dynamically adjust the speed to the player's performance #
# by setting 'use_feedback' to 1.  This feature attempts   #
# to speed the game up if it is too easy for the player,   #
# and to slow it down if the player is having trouble.     #
#                                                          #
# Many additional parameters under 'Advanced Options' can  #
# be used to fine-tune these behaviors.                    #
############################################################

allow_speedup = 1
use_feedback = 0

############################################################
#                                                          #
#               Selecting Math Operations                  #
#                                                          #
# Parameter: addition_allowed (boolean)                    #
# Default: 1                                               #
# Parameter: subtraction_allowed (boolean)                 #
# Default: 1                                               #
# Parameter: multiplication_allowed (boolean)              #
# Default: 1                                               #
# Parameter: division_allowed (boolean)                    #
# Default: 1                                               #
#                                                          #
# These options enable questions for each of the four math #
# operations.  All are 1 (yes) by default.                 #
############################################################

addition_allowed = 1
subtraction_allowed = 1
multiplication_allowed = 1
division_allowed = 1

############################################################
#                                                          #
#                    Typing Practice                       #
#                                                          #
# Parameter: typing_practice_allowed (boolean)             #
# Default: 0                                               #
#                                                          #
# This option simply displays numbers for the youngest     #
# players to type in to learn the keyboard.                #
############################################################

typing_practice_allowed = 0

############################################################
#                                                          #
#                 Negative Number Support                  #
#                                                          #
# Parameter: allow_negatives (boolean)                     #
# Default: 0                                               #
#                                                          #
# 'allow_negatives' allows or disallows use of negative    #
# numbers as both operands and answers.  Default is 0      #
# (no), which disallows questions like:                    #
#          2 - 4 = ?                                       #
# Note: this option must be enabled in order to set the    #
# operand ranges to include negatives. If it is changed    #
# from 1 (yes) to 0 (no), any negative operand limits will #
# be reset to 0.                                           #
############################################################

allow_negatives = 0

############################################################
#                                                          #
#      Minimum and Maximum Values for Operand Ranges       #
#                                                          #
# Parameters: (multiple - all integer type)                #
#                                                          #
# Operand limits can be set to any integer up to the       #
# value of 'max_answer'. Tuxmath will generate questions   #
# for every value in the specified range. The maximum must #
# be greater than or equal to the corresponding minimum    #
# for any questions to be generated for that operation.    #
# Defaults are 0 for minima and 12 for maxima.             #
#                                                          #
# Note: 'allow_negatives' must be set to 1 for negative    #
# values to be accepted (see 'Advanced Options').          #
############################################################

# Addition operands:
# augend + addend = sum

min_augend = 0
max_augend = 12
min_addend = 0
max_addend = 12

# Subtraction operands:
# minuend - subtrahend = difference

min_minuend = 0
max_minuend = 12
min_subtrahend = 0
max_subtrahend = 12

# Multiplication operands:
# multiplier * multiplicand = product

min_multiplier = 0
max_multiplier = 12
min_multiplicand = 0
max_multiplicand = 12

# Division operands:
# dividend/divisor = quotient

min_divisor = 0
max_divisor = 12
min_quotient = 0
max_quotient = 12

# Typing practice:

min_typing_num = 0
max_typing_num = 12


############################################################
#                                                          #
#                 General Game Options                     #
#                                                          #
# Parameter: use_sound (boolean)                           #
# Default: 1                                               #
# Parameter: menu_sound (boolean)                          #
# Default: 1                                               #
# Parameter: menu_music (boolean)                          #
# Default: 1                                               #
# Parameter: fullscreen (boolean)                          #
# Default: 1                                               #
# Parameter: demo_mode (boolean)                           #
# Default: 0                                               #
# Parameter: use_keypad (boolean)                          #
# Default: 0                                               #
# Parameter: allow_pause (boolean)                         #
# Default: 0                                               #
# Parameter: use_igloos (boolean)                          #
# Default: 1                                               #
# Parameter: save_game_summary (boolean)                   #
# Default: 1                                               #
#                                                          #
# These parameters control various aspects of Tuxmath's    #
# not directly related to the math question to be asked.   #
############################################################

# Use game sounds and background music if possible:
use_sound = 1
menu_sound = 1
menu_music = 1

# Use fullscreen at 640x480 resolution instead of
# 640x480 window. Change to 0 if SDL has trouble with
# fullscreen on your system:
fullscreen = 1

# Display jpg images for background:
use_bkgd = 1

# Run Tuxmath as demo (i.e. without user input):
demo_mode = 0

# Display onscreen numeric keypad - allows mouse-only
# gameplay or use with touchscreens:
use_keypad = 0

# Allow 'Pause' feature - should disable this
# when competing for high scores!
allow_pause = 1

# Use newer graphics where Tux defends igloo-
# dwelling penguins (for those who find the older
# images of exploding cities to be distasteful)
use_igloos = 1

# By default, Tuxmath saves summaries of the last
# ten games in the user's .tuxmath directory. Set
# this parameter to '0' to turn off.
save_summary = 1



############################################################
#                                                          #
#                   Advanced Options                       #
#                                                          #
# The remaining settings further customize Tuxmath's       #
# behavior.  Most users will probably not change them.     #
############################################################


############################################################
#                                                          #
#           Advanced Math Question List Options            #
#                                                          #
# Parameter: question_copies (integer)                     #
# Default: 1                                               #
# Parameter: repeat_wrongs (boolean)                       #
# Default: 1                                               #
# Parameter: copies_repeated_wrongs (integer)              #
# Default: 1                                               #
#                                                          #
# These settings offer further control over the question   #
# list and are generally only useful if 'play_through_list'#
# is enabled (as it is by default).                        #
#                                                          #
# 'question_copies' is the number of times each question   #
# is put into the initial list. It can be 1 to 10.         #
#                                                          #
# 'repeat_wrongs' determines whether questions the player  #
# failed to answer correctly will be asked again.          #
#                                                          #
# 'copies_repeated_wrongs' gives the number of times a     #
# missed question will reappear. This can be set anywhere  #
# from 1 to 10.                                            #
#                                                          #
# The defaults for these values result in a 'mission'      #
# for Tux that is accomplished by answering all            #
# questions correctly with at least one surviving city.    #
############################################################

question_copies = 1
repeat_wrongs = 1
copies_repeated_wrongs = 1

############################################################
#                                                          #
#                 Math Question Formats                    #
#                                                          #
# The 'format_<op>_answer_<place>  options control         #
# generation of questions with the answer in different     #
# places in the equation.  i.e.:                           #
#                                                          #
#    format_add_answer_last:    2 + 2 = ?                  #
#    format_add_answer_first:   ? + 2 = 4                  #
#    format_add_answer_middle:  2 + ? = 4                  #
#                                                          #
# By default, 'format_answer_first' is enabled and the     #
# other two formats are disabled.  Note that the options   #
# are not mutually exclusive - the question list may       #
# contain questions with different formats.                #
#                                                          #
# The formats are set independently for each of the four   #
# math operations. All parameters are type 'boolean'.      #
############################################################

format_add_answer_last = 1
format_add_answer_first = 0
format_add_answer_middle = 0
format_sub_answer_last = 1
format_sub_answer_first = 0
format_sub_answer_middle = 0
format_mult_answer_last = 1
format_mult_answer_first = 0
format_mult_answer_middle = 0
format_div_answer_last = 1
format_div_answer_first = 0
format_div_answer_middle = 0

############################################################
#                                                          #
# Parameter: max_answer (integer)                          #
# Default: 999                                             #
#                                                          #
# 'max_answer' is the largest absolute value allowed in    #
# any value in a question (not only the answer). Default   #
# is 999, which is as high as it can be set. It can be set #
# lower to fine-tune the list for certain 'lessons'.       #
############################################################

max_answer = 999

############################################################
#                                                          #
# Parameter: max_questions (integer)                       #
# Default: 5000                                            #
#                                                          #
# 'max_questions' is limit of the length of the question   #
# list. Default is 5000 - only severe taskmasters will     #
# need to raise it!                                        #
############################################################

max_questions = 5000

############################################################
#                                                          #
# Parameter: randomize (boolean)                           #
# Default: 1                                               #
#                                                          #
# If 'randomize' selected, the list will be shuffled       #
# at the start of the game. Otherwise, the questions       #
# appear in the order the program generates them.          #
############################################################

randomize = 1

############################################################
#                                                          #
#                Advanced Comet Speed Options              #
#                                                          #
# Parameter: starting_comets (integer)                     #
# Default: 2                                               #
# Parameter: extra_comets_per_wave (integer)               #
# Default: 2                                               #
# Parameter: max_comets (integer)                          #
# Default: 10                                              #
# Parameter: speed (float)                                 #
# Default: 1.00                                            #
# Parameter: max_speed (float)                             #
# Default: 10.00                                           #
# Parameter: speedup_factor (float)                        #
# Default: 1.20                                            #
# Parameter: bonus_comet_interval (integer)                #
# Default: 10                                              #
# Parameter: bonus_speed_ratio (float)                     #
# Default: 1.50                                            #
# Parameter: slow_after_wrong (bool)                       #
# Default: 0                                               #
#                                                          #
# (for 'feedback' speed control system):                   #
# Parameter: danger_level (float)                          #
# Default: 0.35                                            #
# Parameter: danger_level_speedup (float)                  #
# Default: 1.1                                             #
# Parameter: danger_level_max (float)                      #
# Default: 0.9                                             #
# Parameter: city_explode_handicap (float)                 #
# Default: 0                                               #
#                                                          #
# The comet number parameters and initial/max speed apply  #
# whether or not the feedback system is activated.         #
#                                                          #
# 'speedup_factor' and 'slow_after_wrong' only apply if    #
# feedback is not activated.                               #
#                                                          #
# The 'danger_level_*' and 'city_explode_handicap'         #
# parameters are only used if feedback is activated.       #
############################################################


# Number of comets for first wave. Default is 2.
starting_comets = 2

# Comets to add for each successive wave. Default is 2.
extra_comets_per_wave = 2

# Maximum number of comets. Default is 10.
max_comets = 10

# Starting comet speed. Default is 1.
speed = 1.00

# Maximum speed. Default is 10.
max_speed = 10.00

# 'speedup_factor': If feedback is not used but 
# 'allow_speedup' is enabled, the comet speed will be
# multiplied by this factor with each new wave.
# Values from 0.5 to 2 are accepted (note that a 
# value less than 1 causes the comets to be 
# slower with each wave!).
# Default is 1.2 (i.e. 20 percent increase per wave)

speedup_factor = 1.20

# 'bonus_comet_interval' controls how frequently
# special comets appear that cause a igloo to be  
# rebuilt if answered correctly. The bonus comet  
# appears after this number of regular comets (a  
# value of 0 disables bonus comets). Default is 10. 
bonus_comet_interval = 10

# 'bonus_speed_ratio' determines how fast the
# bonus comets fall relative to the regular comets.
# Range 1.0 - 3.0, default 1.5:
bonus_speed_ratio = 1.50

# 'slow_after_wrong' tells Tuxmath to go back to  
# starting speed and number of comets if the player misses 
# a question. Useful for smaller kids. Default is 0.

slow_after_wrong = 0

# (Feedback) Set the desired danger level.
# 0 = too safe, comets typically exploded at the very top
# 1 = too dangerous, comets typically exploded as they
# hit cities. Set it somewhere between these extremes. As
# a guideline, early elementary kids might prefer
# 0.2-0.3, older kids at around 0.4-0.6. Default 0.35.

danger_level = 0.35

# (Feedback) Set danger level speedup.
# The margin of safety will decrease by this factor each
# wave. Default 1.1. Note 1 = no increase in danger level.

danger_level_speedup = 1.10

# (Feedback) Set the maximum danger level.
# Default 0.9.
danger_level_max = 0.90

# (Feedback) Set the handicap for hitting cities.
# When bigger than 0, this causes the game to slow down
# by an extra amount after a wave in which one or more
# cities get hit. Note that this is similar to
# 'slow_after_wrong', but allows for more gradual
# changes. Default 0 (no extra handicap).

city_explode_handicap = 0.00

# if keep_score is false, score will not be displayed in-game
# default true

keep_score = 1

############################################################
#                                                          #
#                  Managing User Settings                  #
#                                                          #
# Parameter: per_user_config (boolean)                     #
# Default: 1                                               #
# Parameter: homedir (string)                              #
# Default: <none supplied>                                 #
#                                                          #
# 'per_user_config' determines whether Tuxmath will look   #
# in the user's home directory for settings. Default is 1  #
# (yes). If set to 0, the program will ignore the user's   #
# .tuxmath file and use the the global settings in the     #
# installation-wide config file.                           #
#                                                          #
# 'homedir' allows you to specify the location to look for #
# user home directories. You probably do not want to       #
# specify this unless all users share the same login       #
# account. See the README for details on configuration.    #
# To enable this feature, remove the '#' comment mark and  #
# set the path as desired.                                 #
#                                                          #
# These settings cannot be changed by an ordinary user, as #
# they are ignored unless the config file is Tuxmath's     #
# global config file. Thus, users cannot 'lock themselves  #
# out' by accidentally setting per_user_config to 0.       #
############################################################

per_user_config = 1
# homedir = /servervolume/tuxmath_users