To create a Quiz Machine using a Raspberry PI for a family games night
CONCEPT
Allow multi-choice questions to be dynamically uploaded and presented
Allow phones to be used to record answers
Display results and time to answer
Have the questions read aloud by the browser
PURCHASES
Controller
Raspberry Pi 3 with case
£44.85
TOTAL
£44.85
IMPLEMENTATION
Went with a Neon type theme using CSS animation features to try out a few of
the ones I've never used before.
Created a JS library called Narration to handle all the talking and created an
xml format so could easily create new "QuizNights".
Used electron which worked fine on my pc but Chromium on the PI really didn't like it.
It needs to be started with an argument --enable-speech-dispatcher but couldn't work out
how to use this with Electron.
Looking around for alternatives I found the excellent:
https://app.responsivevoice.org/
which is a javascript library that's free for non-commercial use that allows the same functionality. This worked brilliantly.
The performance on Chromium was disappointing though. The updates even though
they were simple CSS changes seemed very slow to update and the javascript interval
or set timeout didn't update event the timer
So I thought I'd try the 32bit version of Rasbian buster but couldn't get dotnet installed on it.
This is such a stupid thing to not have working.
So I realised I needed to run the 32bit version of ARM dotnet
cd Downloads
wget https://download.visualstudio.microsoft.com/download/pr/041e8f1c-fae7-4422-9c6c-8f73f74fbbcf/26de71e5d316ce9939a0194ff36a10ba/dotnet-sdk-6.0.412-linux-arm.tar.gz
sudo mkdir ~/.dotnet6
sudo tar -xvf dotnet-sdk-6.0.412-linux-arm.tar.gz -C ~/.dotnet6