Loading…

Digital Bomb King-Start a new round of gaming

```javascript WXAPI.gameNumberBombBegin({ token: '000' }) ``` + token current user login credentials ```json { "code": 0, "msg": "success", "data": { "bombLog": { "id": 5, "useScore": 1 }, "setting": { "maxNumber": 100, "duration": 1, "unit": 0, "buyNumbers": 10, "useScore": 1, "winScore": 10, "maxGuessTime": 50 } } } ``` + bombLog - id is the game ID. This ID needs to be passed when guessing later. - useScore The points consumed this time have been deducted from the points balance. + setting - maxNumber How many numbers are there in this round? Guess which number the bomb is in among these numbers. - duration If unit=0, buyNumbers=3, duration=1, it means that you can only play 3 games in a day; if unit=1, buyNumbers=30, duration=2, it means that you can only play 30 games in 2 months - unit 0 days 1 month 2 years - buyNumbers How many times to participate, here is the natural month - useScore The points consumed this time have been deducted from the points balance. - winScore How many points will be given for victory? - maxGuessTime is the maximum number of guesses. If you still fail to guess correctly after exceeding this number, you lose.