The better the Crypto Game that can stimulate people's gambling nature, the better it is. The best Crypto game is an exchange, which is also the reason why Gamblefi has been enduring in the Crypto world. In this race, whoever can play more variations of gambling in a simple and easy-to-understand manner will stand out. Today's case is a GambleFi project on Solana that integrates GameFi, NFT, and DeFi — Lamas Finance.

Project Mechanism — Game Part
Lamas is based on four games, with the NFT and DeFi parts built on top of them. Due to space constraints, we will only introduce the game part in this article. The four games are:
Price Prediction
Price prediction takes place once a week. At the beginning of each week, the initial price of the asset will be recorded. Before the end of Thursday, users can guess a specific number or percentage change in that price. Over the weekend, the system will record the closing price to calculate the score and final reward.
In this game, participants will bet with USDC, with a minimum amount of 5 USDC and no maximum amount. Players can place multiple bets using different predictions. Each bet will be recorded as a separate entry.
- Accuracy Assessment
Assuming a player makes a price prediction for Bitcoin (BTC), with an initial price of 100,000 USD at the beginning of the week. We will consider a hypothetical pool containing 1 BTC and 100,000 USD. The total value of the pool is 200,000 USD, with 50% of the value in BTC and 50% in USD. The state of the pool is defined as a vector, with its components representing the percentage of asset value in the pool. In this example, the initial state of the (BTC, USD) pool is (50.00, 50.00).
Suppose the closing price of 1 BTC at the end of the week is 150,000 USD. Here, although the pool still contains 1 BTC and 100,000 USD, the state has changed. The total value of the pool has increased to 250,000 USD. Therefore, BTC occupies 60% of the pool value (= 150,000 / 250,000), while USD occupies 40% (= 100,000 / 250,000). Thus, the closing state of the pool is (60.00, 40.00).
Predicting the price of Bitcoin is equivalent to predicting the closing state of the pool. For example, if a player wants to predict that BTC will increase by 20%, making the value of 1 BTC reach 120,000 USD. Following the same calculation as above:
- The total value of the pool is 220,000 USD
- BTC occupies 54.45% of the pool, and
- USD occupies 45.45% of the pool
Therefore, the user's submission is represented as (54.55, 45.45), which is then compared with the final pool state vector. The closer the vector, the higher the score. Price predictions use real-time data from the Chainlink Oracle.
Additionally, players can earn reward points by making early predictions. Predicting the price of BTC on Monday for Sunday is much more difficult than predicting for Thursday. Therefore, reward points help ensure that participants are treated fairly when making predictions on different dates during the week.
Initially, the game offers the following reward levels:
- Monday 100 points,
- Tuesday 60 points,
- Wednesday 30 points, and
- Thursday 0 points.
Therefore, the highest score a player can achieve is 1100 points.
Reward Allocation
Price prediction is a zero-sum game with no external incentives. If the final score is higher than the average level, there will be some profit. On the other hand, if the score is lower than the average level, there will be a certain degree of loss. Specifically, rewards will be calculated based on the score and betting amount (stake) using the following formula. In addition, users can also obtain NFTs of different rarities based on their bets and rankings.

Direction Prediction
Participants in this game will bet on whether the SOL/USDT exchange rate will rise or fall over a certain period. Correct guesses will win a portion of the prize pool for the player.
The game is played in rounds. Each round is divided into two phases: prediction and live. In the prediction phase, participants bet on the upward or downward trend of the price. The price is recorded at the end of each phase. When the live phase ends, if the SOL/USDT exchange rate is higher than at the end of the prediction phase, a correct upward prediction occurs. Similarly, when it is lower, a correct downward prediction occurs.
The total bet amount forms the prize pool, which will be proportionally awarded to each participant who makes accurate predictions.
In this game, participants will bet with LMF, with a minimum amount of 5 LMF and no maximum.
Each game lasts a total of 30 minutes, with two phases: prediction and live, each lasting 15 minutes. Real-time data from the Chainlink Oracle is used for the upward or downward trend.
Profit Calculation
For example, if there are 15 SOL on the downside and 135 SOL on the upside, the total prize pool is 150 SOL. Therefore, the dividend rate for the downside is: (150/15) = 10x, and the dividend rate for the upside is: (150/135) = 1.11x. If a player's position on the downside ends and they invested 20 LMF, they will receive a payment of 20 × 10 = 200 LMF. The profit (pre-tax) will be 200 - 20 = 180 LMF.
Similarly, users can also obtain NFTs of different rarities based on their bets and rankings.
Jackpot Lottery
Based on the jackpot lottery game, participants have the opportunity to win a large amount of LMF rewards by purchasing lottery tickets. It is straightforward and fair, with no restrictions on participation other than being able to afford the ticket.
The game takes place every day. Each day, users can purchase lottery tickets during a scheduled time period. The price of each ticket is 5 LMF and is only valid for that day. There is no limit to the number of tickets a user can purchase. Each ticket sold will increase the size of the prize pool.
Each ticket allows users to select a set of 4 different numbers between 1 and 36. The more matching numbers, the greater the reward. The remaining portion of the prize pool for the day will be added to the prize pool for the next day.
Accumulated bonus lottery tickets use Chainlink's VRF to ensure true and secure randomness.
Profit Calculation
The jackpot is won when a player's four numbers match the jackpot number. If only two or three numbers match, the player will receive a smaller reward. The following proportions will be used to distribute prizes:
- 50% of the pool will be evenly distributed among players with 4 lucky numbers
- 20% of the pool will be evenly distributed among players with 3 lucky numbers
- 10% of the pool will be evenly distributed among players with 2 lucky numbers
Therefore, the total earnings of the jackpot ticket owner (with two, three, or four matching numbers) account for 80% of the prize pool, with the remaining 20% reserved for the next round. If there are no winners on a given day, the remaining portion of the prize pool will also accumulate to the next day's prize pool.
Initially, before the first round of the jackpot lottery, there will be 30,000 LMF available in the prize pool. This amount of tokens will be extracted from the ecosystem pool.
Additionally, players who match at least 1 number will have the chance to receive NFT fragments. The rarity of the artwork will depend on the matching numbers.
Lucky Wheel
The lucky wheel is a chance-based game where participants have the opportunity to increase their bets by spinning the wheel. Users can choose a betting amount from a range of options, such as 2 LMF, 10 LMF, 50 LMF, 100 LMF, or 500 LMF. The slots on the wheel have various multiplier values, ranging from x0 to x35. Profits are calculated by multiplying the betting amount by the resulting multiplier, thus there is potential for both profit and loss.
Players who spin the wheel on the x2 box (or better) with good luck will receive a prize proportional to their bet.
The following results are available: x0 (complete loss), x0.5 (50% loss), x1 (break-even), x2 (double), x3 (triple), x7 (multiplied by 7), x20 (multiplied by 20), x35 (multiplied by 35), and NFT (x1 + 1 NFT card). The table indicates the likelihood of each result.
Therefore, the expected value of winning is 0.973 ( = 0 x 30% + 0.5 x 30% + …35 x 0.15% + 1 x 1%), approximately 1. Additionally, players who spin on the NFT box will receive an NFT fragment. The rarity of the token will depend on the betting amount.
The ecosystem pool will act as an intermediary during the game, collecting bets and distributing rewards. The lucky wheel uses Chainlink's VRF to ensure true and secure randomness.
Due to the complexity of the system, the NFT part will be deconstructed in the next article.
免责声明:本文章仅代表作者个人观点,不代表本平台的立场和观点。本文章仅供信息分享,不构成对任何人的任何投资建议。用户与作者之间的任何争议,与本平台无关。如网页中刊载的文章或图片涉及侵权,请提供相关的权利证明和身份证明发送邮件到support@aicoin.com,本平台相关工作人员将会进行核查。