<commit_before># Trivia game for Raspberry Pi

Reads inputs from PiFace DIO card. 
Inputs 0-3 = Team 1
Inputs 4-7 = Team 2

The game itself assumes two teams for four players. These are defined in
`config.json`, which looks like this

```json
{
    "teams": [
        ["Honey Monsters", ["Karen", "Sandy", "Jim", "Colleen"]],
        ["The Fridge Ninjas", ["Penny", "Arthur", "Chris", "Leslie"]]
    ]
}
```

This corresponds to Team 1 then Team 2. Players are input 0, 1, 2, 3 
for their respective teams. In other words:

Pin 7 = Team 2, Player 3
Pin 6 = Team 2, Player 2
Pin 5 = Team 2, Player 1
Pin 4 = Team 2, Player 0
Pin 3 = Team 1, Player 3
Pin 2 = Team 1, Player 2
Pin 1 = Team 1, Player 1
Pin 0 = Team 1, Player 0

## Flow

The game flow is as follows:
* Current Score

    The current score for both teams is shown.

* Listen

    The game displays the Listen screen and the host starts
    to read the question aloud. Any player may buzz in before
    the question has been fully read. 
<commit_msg>fix readme<commit_after># Trivia game for Raspberry Pi

Reads inputs from PiFace DIO card. 
Inputs 0-3 = Team 1
Inputs 4-7 = Team 2

The game itself assumes two teams for four players. These are defined in
`config.json`, which looks like this

```json
{
    "teams": [
        ["Honey Monsters", ["Karen", "Sandy", "Jim", "Colleen"]],
        ["The Fridge Ninjas", ["Penny", "Arthur", "Chris", "Leslie"]]
    ]
}
```

This corresponds to Team 1 then Team 2. Players are input 0, 1, 2, 3 
for their respective teams. In other words:

* Pin 7 = Team 2, Player 3
* Pin 6 = Team 2, Player 2
* Pin 5 = Team 2, Player 1
* Pin 4 = Team 2, Player 0
* Pin 3 = Team 1, Player 3
* Pin 2 = Team 1, Player 2
* Pin 1 = Team 1, Player 1
* Pin 0 = Team 1, Player 0

## Flow

The game flow is as follows:
* Current Score

    The current score for both teams is shown.

* Listen

    The game displays the Listen screen and the host starts
    to read the question aloud. Any player may buzz in before
    the question has been fully read. 

{'fraction_non_alphanumeric': 0.09631449631449632, 'fraction_numerical': 0.03538083538083538, 'mean_word_length': 3.0078740157480315, 'pattern_counts': {'":': 2, '<': 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': '6132387', 'n_tokens_mistral': 725, 'n_tokens_neox': 641, 'n_words': 337}