block-quote On this pagechevron-down
GitBook Assistant Ask chevron-down Game Mechanics Number Matching System Understanding how matches are calculated is key to playing Lotto Balls effectively.
Position-Based Matching
Lotto Balls uses a position-based matching system . This means a number only counts as a match if it appears in the exact same position as the drawn number.
Your four numbers are compared against the four drawn numbers position by position:
Copy Position: 1 2 3 4
Your Numbers: [3] [7] [2] [5]
Drawn: [3] [1] [2] [8]
Match?: ✓ ✗ ✓ ✗
Result: 2 matches Important Distinctions
Position matching is NOT the same as "numbers appearing anywhere"
Example:
Drawn numbers: 4, 3, 2, 1
Matches: 0 (no positions match, even though all numbers appear)
vs.
Drawn numbers: 1, 9, 9, 9
Matches: 1 (position 1 matches)
Matches
Description
USDC Payout
LTB Reward
*LTB rewards only apply to USDC bets
Each position is an independent random draw from 0-9 (10 possible values).
Single Position
Probability of matching: 1/10 = 10%
Probability of not matching: 9/10 = 90%
Multiple Positions
Using binomial probability:
Exactly 0 matches:
Exactly 1 match:
Exactly 2 matches:
Exactly 3 matches:
Exactly 4 matches (Jackpot):
Strategy Considerations
Since each position is independently random:
All number combinations have equal probability
Picking 0, 0, 0, 0 has the same odds as 1, 2, 3, 4
There's no "hot" or "cold" number—each draw is independent
Previous results don't influence future outcomes
You can verify match calculations on-chain by:
Looking up your bet's requestId
Calling getBet(requestId) to see your numbers and drawn numbers
Comparing position by position
Checking the GameResolved event for the official match count