Lottery source code