Frequently Asked Questions

How do I include a background image?

Firstly, copy the image (let’s call it MyImage.jpg) into the Documents folder of the app using iTunes. Launch the app and edit the appropriate table set or table. Go to the formatting screen and select ‘Advanced Formatting’. The text entry cursor should be underneath any other entry so just add the following (including the semi-colon):


The other CSS commands for working with background images also function in Random Tables – adding the following may be useful (depending on your image, of course):

background-position:center center;

Note that you can specify a background image for an entire table set or for an individual table.

Why do I sometimes have to tap the display twice to change the entry?

RTQ chooses table entries randomly from a table – it does not shuffle the table. It’s therefore quite possible that the same entry can be chosen twice in a row, but you are more likely to notice this if the table has a small number of entries.

Can I use RTQ to do flash cards?

Certainly! It’s probably easiest to do this using the text import function, especially if you have a lot of questions in the card deck. Assemble the questions and answers for your flash cards in a text file. Have each question and answer on the same line (the same table entry) but use a fragment of HTML to separate them. For example:

What is the answer to Life, the Universe and Everything?<div style="height:300px;"></div>Forty two!

When the table entry is displayed the question will be at the top of the display – just scroll down to see the answer. Note that improved flash card capability is planned for the next release.

Can I include Javascript in a table entry?

No, this has been disabled for security reasons. You might be able to work around this, but then you’re on your own!

Why can’t I see any table sets listed in the main view?

This is probably due to the selected categories in the Settings view. Make sure that at least one of the categories (or ‘All Categories’) has been checked.

How does RTQ determine the name of the table sets?

If you create a table set within the app then you can give it a name. If you don’t explicitly give it a name the app will use the creation date and time as the ‘name’ when listing the table set on the main view.

If you load a table set from a text file via iTunes (or Dropbox etc) then you can use the ‘##’ directive to name the table set. If you don’t supply a name then it will use the name of the text file.

How do I mimic the various tables found in many Role Playing Games?

Remember that RTQ works by using the relative weights of table entries, not their ‘start’ and ‘end’ values in the table. For example, consider the following table that uses a ‘d%’ (i.e. a number from 1 to 100):

d% Treasure
1 – 15 Magic weapon
16 – 35 Magic armour
36 – 50 Scroll
51 – 75 Potion
76 – 100 Wand

If you wanted to load this into RTQ you would simply set up the weights as follows:

15 Magic weapon
20 Magic armour
15 Scroll
25 Potion
25 Wand

This allows you to change the relative chance of certain entries occurring very easily. For example, to increase the chance of a potion being rolled just increase its weight (e.g. to 30) – you don’t need to fit the new probabilities into a 100 point range.

Tables that use multiple dice (e.g. 2d6) can easily be created by working out how many times a particular result can occur, and adding them up for ranges needed. For example, suppose you had the following table (taken from a Dragon Age RPG mod):

2d6 Result
2 +1 Perception
3 – 4 Focus: Cunning (Literacy)
5 Focus: Strength (Driving)
6 Focus: Cunning (Evaluation)
7 – 8 +1 Cunning
9 Focus: Cunning (Trading)
10 – 11 Focus: Communication (Persuasion)
12 +1 Dexterity

Tables for the frequency of occurrence of numbers from rolling 2d6 and 3d6 are given below. Using these values the table above can be converted to RTQ’s ‘weights’ system resulting in the following:

1  +1 Perception
5  Focus: Cunning (Literacy)
4  Focus: Strength (Driving)
5  Focus: Cunning (Evaluation)
11 +1 Cunning
4  Focus: Cunning (Trading)
5  Focus: Communication (Persuasion)
1  +1 Dexterity

The first line (“+1 Perception”) occurs on a total result of 2 (i.e. a 1 in 36 chance) so it has a relative weight of 1. The second line (“Focus: Cunning (Literacy)”) occurs on a result of 3 or 4 (i.e. a weight of 2 + 3 = 5), and so on.

2d6 Frequency Table

2d6 Frequency
2 1
3 2
4 3
5 4
6 5
7 6
8 5
9 4
10 3
11 2
12 1

3d6 Frequency Table

3d6 Frequency
3 1
4 3
5 6
6 10
7 15
8 21
9 25
10 27
11 27
12 25
13 21
14 15
15 10
16 6
17 3
18 1