PLEASE NOTE: This whitepaper in a work in progress.
Updated: 2/20/2010
The JG Lottery extension will give users of the several point systems in Joomla a new way to bet their points. The purpose of this whitepaper is to give a fairly detailed description of how such a lottery system should work. There will be one major game type and a couple variations on that type.
Main Lottery
Players select four different numbers from 1 to 50 (Example: 29, 33, 2, 50). They can bet using the built in lottery currency (something like the one in JG Casino OR use AUP, JomSocial Points, Karma and etc) from predetermined bet totals (5, 10, 20, 30, etc; Max 1000). At a certain time (Daily) determined by the webmaster, the JG Lottery extension will randomly choose four numbers.
Betting: Players can choose amongst predetermined bets from a list (5, 10, 20, 30; up to 1000 Max). Players can bet and play each Lottery drawing a total of FIVE times a day.
Winning: Players can win in three ways, but only by matching their numbers with the random numbers chosen by the lottery system. They must match each of their numbers to the winning numbers consecutively.
Ways to win: 2 Match, 3 Match and 4 Match. For example, if a player chooses 41, 12, 19, 50 and the system randomly selects 41, 12, 2, 9, the player will win the 2 Match. This is the same for the 3 Match and 4 Match.
What they win. In the backend, a webmaster should be able to choose a win multiplier for each Match win except for the 4 Match. If a player’s chosen numbers matches the numbers randomly selected by the Lottery system, they win the Jackpot.
Jackpot. The Lottery Jackpot will be the same exact one used in JG Casino, which will grow over time.
Frontend Interface
Players can view several things from the frontend interface of the JG Lottery.
Jackpot: Shows the Jackpot a player can win with the Match 4.
My Bets: An area that shows their current numbers/bets for the current Lottery and the numbers/bets from the previous Lottery. There is no need to have more history than the last previous lottery, to keep the database small.
Lottery Rules: On this page, a Player can learn more about the Lottery rules and how to play. On this page, it will show the win multiplier for the Match 2/Match 3 games and the Odds of winning the Match 2, Match 3 and Match 4.
Lottery Past Draws: Shows the last ten Lottery number drawings picked by the lottery system.
Lottery Winners: This page shows the winners (if any) of the last ten Lottery drawings; for Match 2, Match 3, and Match 4.
Quick Draw: This page is a mini lottery game within the JG Lottery explained below. Can be played unlimitedly.
Additional Games:
In addition to the Main Lottery game, you can have a Quick Draw game that allows players while waiting for the main lottery results to play an unlimited amount of times!
Quick Draw:
Similar to the main game BUT there is only Match 3. The only way they can win is if the 3 numbers they have chosen match the 3 random numbers chosen by the system consecutively.
Players select three different numbers from 1 to 9. They can bet using the built-in lottery currency OR AUP/JomSocial Points/Karma and etc (the choice is determined by the webmaster in the backend).
Betting: The betting is exactly like the main lottery game.
Winning: If the 3 numbers chosen by the player match the 3 numbers chosen randomly by the Quick Draw system consecutively (example: player chose 3, 9, 1 and the system draws 3, 9, 1, the player wins).
What they win: What they win is based upon a multiplier chosen by the webmaster in the JG Lottery Quick Draw settings.