An open-source lottery game for iPhone