Lottery machine source code