A program to randomize the order of pictures and the alternatives for a Listerine team quiz.
To use the program:
- Open a terminal window
- Download the code with the command
git clone https://github.com/malinkallen/teamquiz.git
- Step into the teamquiz directory:
cd teamquiz/
- Make sure that the file
teamquiz.input
contains three lines starting with the keywordproviders
,pictures
andalternatives
respectively. Each keyword should be followed by a=
, and- a comma separated list of those who contributed with pictures on the line
starting with
providers
- a comma separated list of identifiers for the pictures (might be
picture1
,picture2
and so on, or something more descriptive) on the line starting withpictures
- a comma separated list of persons to use as alternatives on the line
starting with
alternatives
. This may be the same list as on theproviders
line, or you may add some people to trick the participants.
- a comma separated list of those who contributed with pictures on the line
starting with
- Run the program:
java TeamQuiz
For an example of what teamquiz.intput
might look like, see the current
version of the file.
The program will print the pictures (as all combinations of providers and pictures) in random order. Below each picture, 4 alternatives that can be used are provided in random order.