Santa Claws has now ended for 2016.
From Thursday the 15th to Friday the 23rd of December 2015 Liberty Games ran a competition to win money for a great charity.
We hooked one of our claw machines up to the internet with a webcam and you took control to bag some prizes.
Each prize had a cash value (see below), which when grabbed was donated to the good people at St Mungo's Broadway as part of their Wooly Hat Day appeal.
Grand total being calculated!
St Mungo's are a homelessness charity helping provide a bed and support for more tan 2,500 people a night who are either homeless or at risk. They also work to help prevent homelessness, helping around 25,000 people a year.
Committed to every individual's sustainable recovery they support both men and women through projects including:
If you would like to learn more or get involved yourself you can find their website here.
Each of our Christmas themed teddies is worth the following:
Bear - £5
Dog - £10
Reindeer - £15
Santa - £20
We'll be topping the machine back up when it runs low, and don't worry - all the teddies will be re-homed as gifts to a good cause after their work in the crane in complete.
With the 'internet of things' taking off, we thought: “Why can't a crane machine be one of those things?”
First, we took a Sierra crane machine (one of the cool things about working in a games company is that we have crane machines just lying around) and attached a camera to the front. This allowed us to stream a live picture of the crane to anywhere in the world. We were off to a good start and we could see the crane through our web browser, but it wasn't doing much. So it was on to the next step which involved our old friend, the Raspberry Pi.
The Pi is our go-to piece of kit when we want to have fun with anything electronic. Using the awesome PiFace and PiRack we were able to code up an API for the crane allowing us to control all of its functions remotely, and to get feedback when a game was over or a prize was scored. Using this interface, we were able to link up our web server so that buttons pressed on a web page would talk to the API and control the crane. We hooked it all up, loaded the streaming video, held our breath and tried it out. When we saw the crane move, all those hours at the seaside arcade instantly came flooding back.
The crane didn't make it easy, however. There was a fair bit of trial and error to work out exactly how to link the Pi up to the various controls and logic boards.
One thing that a lot of people might not know about arcade cranes is that most work on a 'pay-out ratio'. This means it’s possible to adjust the strength of the claw relative to how many prize wins the machine detects (via an infrared set of beams across the prize slot).
Of course, as this is all for a good cause, we've set it to maximum generosity :)