I have now tested my table football so it can sense a goal for both teams and have done the display in Pygame. The next step is to install it on the table.
I found it hard to run it using .bashrc (allows you to run a program when you boot up) because you need to make a way of exiting other than the usual quit button. I rescued it using remote access through puTTY on a PC. In the code on the Electronics page, you can see I added buttons into the Pygame window to exit and reset.
I am doing lots of projects every projects all the time and I can't put them all on the website so I've made a blog.