A small matching game I build for my son. The goal is to match between a card (represent, for example, an animal home) and the animal displayed on the screen. To run it you need (this is what I'm using, there are many alternatives out there):
Currently, building .net core is not supported on Raspberry PI (more details here). So, you need to build it on your Mac/PC for ARM architecture using:
dotnet publish -r linux-arm
And then, use scp
to copy the output folder to the Raspberry PI.
Now, you can start the server on the Raspberry using:
sudo ./server
Make sure you enabled GPIO for your Raspberry PI. Now, on your Mac/PC run the web using (from the web folder):
elm-reactor
Don't forget to change the websocket ip.