Took me some time to understand what to do and how to beat the computer. Once I got it I was able to beat it almost all the time - except when I forgot which number was doing what. Quite nice for one day project. Consider releasing the original lua/non-web source code, so others can learn from it :-)