Author

Topic: Japanese gambling - tabsai game (Read 373 times)

legendary
Activity: 2632
Merit: 1883
Leading Crypto Sports Betting & Casino Platform
November 16, 2022, 04:07:16 PM
#36
In a few days, we will release  Japanese gabling game call tabsai based on the TYEN token on MATIC network.

The game rule is quite simple:
- The game start with host game and players
- The host will throw 3 dices
- Base on the result of 3 dices, the host or players can be recorded as winner
- The rule mostly based on the wiki site: https://ja.m.wikipedia.org/wiki/%E3%82%BF%E3%83%96_(%E8%B3%AD%E5%8D%9A)

We are working with cryptogambling to get the certificate for a fair system.
Before getting the certificate, we post here the algorithm to get the dice result

   - I think your planned entry into the world of crypto gambling is good. Maybe the only thing I can suggest is that you listen to the tips given as guidelines by those who have been here for a long time in this forum dude so that the flow of opening a business here in crypto gambling will be even better.

And hopefully don't just turn the gambling game into dice games you say so that you can immediately get a lot of gambling players here on this forum platform.

Well there is something very clever that I see, you are launching a casino game, you also want to launch the coin or the token, it is not bad, and you do it through the Polygon network with Matic, but my question is, what will be your strategy? for the altcoin or token to succeed? We know very well that all casinos are now realizing that the best way to do many things is by taking advantage of the investment and trading space, but how can you attract people to buy your token? It is very difficult, I would say that you have to focus mainly on the casino being one of the most competitive, you will be competing with the best, and here in the forum some are usually very demanding.
sr. member
Activity: 1820
Merit: 418
Telegram: @worldofcoinss
November 15, 2022, 07:02:40 AM
#35
In a few days, we will release  Japanese gabling game call tabsai based on the TYEN token on MATIC network.

The game rule is quite simple:
- The game start with host game and players
- The host will throw 3 dices
- Base on the result of 3 dices, the host or players can be recorded as winner
- The rule mostly based on the wiki site: https://ja.m.wikipedia.org/wiki/%E3%82%BF%E3%83%96_(%E8%B3%AD%E5%8D%9A)

We are working with cryptogambling to get the certificate for a fair system.
Before getting the certificate, we post here the algorithm to get the dice result
Hope you enjoy the game.

Hi, welcome to the forum. Games seem to be pretty interesting. However, I just checked the link you shared; it's in Japanese, and I am unfamiliar with the Japanese language. So, could you please share the English version of the same?
legendary
Activity: 2492
Merit: 1145
Enterapp Pre-Sale Live - bit.ly/3UrMCWI
November 06, 2022, 10:08:43 AM
#34
I can't recall what anime it is but I'm sure that I have seen multiple anime that is playing a dice game since it shows there's dice and I think it is the game you are launching since those anime characters as far as I remember usually wears kimono. I hope that when you release the game there would be such as demo play or faucet for gamblers who want to try playing this game. I'm sure most of us here don't know the mechanics yet and we are just speculating about the rules and how to play it, So to attract gamblers I think the casino should have that kind of set up for new gamblers since the game is quite unique and not widely played.
full member
Activity: 2324
Merit: 175
November 06, 2022, 09:58:04 AM
#33
In a few days, we will release  Japanese gabling game call tabsai based on the TYEN token on MATIC network.
I love tokens based on casinos or games I already have two token-based casinos and these are BFG and Owltoken if this is a good platform and a good project I might invest in this token checked the market and there is no TYEN token maybe not yet after you launch your casino


Quote
The game rule is quite simple:
- The game start with host game and players
- The host will throw 3 dices
- Base on the result of 3 dices, the host or players can be recorded as winner
Like all the others have a hard for me to understand how it works unless there is a video to explain how it works but there's none existing on Youtube


Quote
We are working with cryptogambling to get the certificate for a fair system.
I hope you can work it so we can see how this thing work maybe just maybe this is the next big thing in the gambling industry, we just never know.


sr. member
Activity: 952
Merit: 303
November 06, 2022, 09:24:54 AM
#32
In a few days, we will release  Japanese gabling game call tabsai based on the TYEN token on MATIC network.

The game rule is quite simple:
- The game start with host game and players
- The host will throw 3 dices
- Base on the result of 3 dices, the host or players can be recorded as winner
- The rule mostly based on the wiki site: https://ja.m.wikipedia.org/wiki/%E3%82%BF%E3%83%96_(%E8%B3%AD%E5%8D%9A)

We are working with cryptogambling to get the certificate for a fair system.
Before getting the certificate, we post here the algorithm to get the dice result

   - I think your planned entry into the world of crypto gambling is good. Maybe the only thing I can suggest is that you listen to the tips given as guidelines by those who have been here for a long time in this forum dude so that the flow of opening a business here in crypto gambling will be even better.

And hopefully don't just turn the gambling game into dice games you say so that you can immediately get a lot of gambling players here on this forum platform.
legendary
Activity: 2576
Merit: 1252
Leading Crypto Sports Betting & Casino Platform
November 06, 2022, 09:02:57 AM
#31

It also reminds me of color game because that game is also played by three small boxes instead of dice and instead of small dots, the small boxes are painted with different colours.

Same thing goes for me since I have played that game before. That's the first thing which came to my mind although I did not experience playing this japanese game OP have mentioned.
This gave me an idea as well; Is there are gambling site wherein you'd be able to play country based gambling games? Just to be able to experience others' culture which would be evident to games they are enjoying to play with, but that would really be another topic to discuss.

I thought this was the same to that one Japanese game that is discussed here before but this was only just another dice game although it's more unique than the most dice games that I see which are only a single player. This is more fun since you are not the only player playing.

It also reminds me of color game because that game is also played by three small boxes instead of dice and instead of small dots, the small boxes are painted with different colours. Getting certificate is nice. It gives players a sense of security but there are gambling sites who don't have a license and yet they are still fair because they are using a provably fair system.
this sounds good if the dice game is unique compared to other casino sites, i haven't seen the game because i don't understand japanese, i'll see later when different languages are supported there, i like the dice roll game if it's a game that can be played with other players looks like I'll try the game later at least I don't keep playing with gambling machines or gambling operators
Unique or not, if the rewards would be really promising, it would be enough to really carry people's attention towards it. Also, there are many gamblers who are into pure luck gambling games such as dice and roulettes. It is just a normal dice game but when the word 'japanese' was attached into it, it became somewhat interesting, Lol.
legendary
Activity: 2464
Merit: 1039
Bitcoin Trader
November 06, 2022, 04:29:31 AM
#30
I thought this was the same to that one Japanese game that is discussed here before but this was only just another dice game although it's more unique than the most dice games that I see which are only a single player. This is more fun since you are not the only player playing.

It also reminds me of color game because that game is also played by three small boxes instead of dice and instead of small dots, the small boxes are painted with different colours. Getting certificate is nice. It gives players a sense of security but there are gambling sites who don't have a license and yet they are still fair because they are using a provably fair system.
this sounds good if the dice game is unique compared to other casino sites, i haven't seen the game because i don't understand japanese, i'll see later when different languages are supported there, i like the dice roll game if it's a game that can be played with other players looks like I'll try the game later at least I don't keep playing with gambling machines or gambling operators
hero member
Activity: 2548
Merit: 769
November 06, 2022, 03:30:03 AM
#29
It's interesting but you didn't say if the game will be provably fair or not. That is to say, will the user be able to change the seed or a part of the seed himself? Will he be able to fully write the seed he wants to use for playing? Will a hash of the server seed be displayed before the beginning of the game, and will the users be able to change their seed after that? Will the real server seed be displayed after the end of the game to let the users check if it is the same as the hashed seed displayed and to verify if the final result is ok? Because your code doesn't deal with the creation of the seed.
The OP told us much about the game, but he said nothing about other details. What rules will be in casino, where we can gamble, when he wants to open?
It is possible that he has an interesting idea but has no experience in realization. May be it would be better to ask some casino to include such a game than create site by himself.
legendary
Activity: 2604
Merit: 2353
November 04, 2022, 06:47:59 AM
#28
In a few days, we will release  Japanese gabling game call tabsai based on the TYEN token on MATIC network.

The game rule is quite simple:
- The game start with host game and players
- The host will throw 3 dices
- Base on the result of 3 dices, the host or players can be recorded as winner
- The rule mostly based on the wiki site: https://ja.m.wikipedia.org/wiki/%E3%82%BF%E3%83%96_(%E8%B3%AD%E5%8D%9A)

We are working with cryptogambling to get the certificate for a fair system.
Before getting the certificate, we post here the algorithm to get the dice result

Code:
function randomDice(seed, failPercent = 5) { // fail percent -> dice out of table
  percentSeed = seed.slice(0, 4);
  percentInt = parseInt(percentSeed, 16);
  percent = percentInt % 100;
  if (percent <= failPercent) {
    return 0;
  }

  diceInt = parseInt(seed, 16);
  return 1 + (diceInt % 6);
}

function throwDice(salt, msg) {
  const hmac = crypto.createHmac("sha256", salt);
  hmac.update(msg);
  seed = hmac.digest("hex");
  console.log(seed);

  seed1 = seed.slice(0, 10);
  seed2 = seed.slice(10, 20);
  seed3 = seed.slice(20, 30);

  dice1 = randomDice(seed1);
  dice2 = randomDice(seed2);
  dice3 = randomDice(seed3);

  return [dice1, dice2, dice3];
}

Hope you enjoy the game.
It's interesting but you didn't say if the game will be provably fair or not. That is to say, will the user be able to change the seed or a part of the seed himself? Will he be able to fully write the seed he wants to use for playing? Will a hash of the server seed be displayed before the beginning of the game, and will the users be able to change their seed after that? Will the real server seed be displayed after the end of the game to let the users check if it is the same as the hashed seed displayed and to verify if the final result is ok? Because your code doesn't deal with the creation of the seed.
hero member
Activity: 3038
Merit: 634
November 04, 2022, 05:31:45 AM
#27
That's interesting and a different dice game from what we've known it to be. Before your launching, I hope that you'll be able to share that to non-Japanese users for us to try it out.

You can also have a huge market from the outside of the niche you're targeting. However, you're doing a good job for targeting specific users first as the Japanese people are the ones who understands more of this game.
legendary
Activity: 2800
Merit: 2736
Farewell LEO: o_e_l_e_o
November 04, 2022, 05:05:29 AM
#26
For instance, you cannot cash your winnings in the same place where you play. You have to go to another office in another part of town, because according to the government if there's no money exchange in the building it's not a casino. Roll Eyes
So instead of taking the Chips in the cash counter you take the Chips to an exchange? Is that how it's done? It will be very complected for gamblers. I would not care much to walk in another place to cash my chips LOL
legendary
Activity: 1162
Merit: 2025
Leading Crypto Sports Betting & Casino Platform
November 03, 2022, 03:03:50 PM
#25
Hello,

This game almost target to Japanese user because it is traditional game of Japanese.
We are making the website with English version as well. We will keep it posted here

Thanks

Good afternoon.
Once you are ready to launch your project, is this going to be targeted to Japanese users or to the general public?
I ask because even though we have a Japanese section here in the forum for those who participate from Japan, this section is unfortunately rather inactive (it does not have many post per month).

Based on this, you should keep this in mind if you aim to advertise your project here on Bitcointalk; still it is nice to see some new and exotic games around here besides the usual talk on dices, bets, etc.
legendary
Activity: 2422
Merit: 1083
Leading Crypto Sports Betting & Casino Platform
November 03, 2022, 02:42:50 PM
#24
In a few days, we will release  Japanese gabling game call tabsai based on the TYEN token on MATIC network.

The game rule is quite simple:
- The game start with host game and players
- The host will throw 3 dices
- Base on the result of 3 dices, the host or players can be recorded as winner
- The rule mostly based on the wiki site: https://ja.m.wikipedia.org/wiki/%E3%82%BF%E3%83%96_(%E8%B3%AD%E5%8D%9A)
If i understand this description correctly, it means the player(s) doesn't have to do anything like throwing a dice or even touching a button?

If the way i understand the description is true, then forgive me for i must tell you that this will turn out to be a very boring game to play.
the game starts with the house and the player, then the house throws three dice, the outcome of the dice will determine whether the house is the winner or the player is the winner, - This is like buying a self driving car that doesn't even have a steering or any way for the driver at least control it when he feels like, what then is the joy of buying or owning a car I cant drive myself?
legendary
Activity: 2814
Merit: 1192
November 03, 2022, 02:06:37 PM
#23
Based on OP's pot this is a dice game we love playing dice so why not, we'll wait for your site to launch Google did not provide information about this tabsai game and neither is Youtube, and this is what makes this interesting we are all curious on this Japanese game if the Japanese people like it why not us, so many things coming from Japan are universal.

It's normal game just with 3 dice. In a real casino it would make a huge difference because instead of you throwing them, it's thrown by the host. In traditional dice you throw 2, but everything is in the player's hands, not the host's. In online dice where the game "rolls" for you, it doesn't really matter if it's 1 number or 3, just a visual difference because I bet the chance of winning is the same as with a single number.

The idea is good if it's going to apply to Japanese gamblers. Last time I checked their government was very strict on gambling. For instance, you cannot cash your winnings in the same place where you play. You have to go to another office in another part of town, because according to the government if there's no money exchange in the building it's not a casino. Roll Eyes
legendary
Activity: 2044
Merit: 1075
Leading Crypto Sports Betting & Casino Platform
November 03, 2022, 01:38:23 PM
#22
I thought this was the same to that one Japanese game that is discussed here before but this was only just another dice game although it's more unique than the most dice games that I see which are only a single player. This is more fun since you are not the only player playing.

It also reminds me of color game because that game is also played by three small boxes instead of dice and instead of small dots, the small boxes are painted with different colours. Getting certificate is nice. It gives players a sense of security but there are gambling sites who don't have a license and yet they are still fair because they are using a provably fair system.
hero member
Activity: 3024
Merit: 614
Leading Crypto Sports Betting & Casino Platform
November 03, 2022, 07:15:10 AM
#21
Based on OP's pot this is a dice game we love playing dice so why not, we'll wait for your site to launch Google did not provide information about this tabsai game and neither is Youtube, and this is what makes this interesting we are all curious on this Japanese game if the Japanese people like it why not us, so many things coming from Japan are universal.
legendary
Activity: 2800
Merit: 2736
Farewell LEO: o_e_l_e_o
November 03, 2022, 06:39:53 AM
#20
Domain:tabsai.com
It's Japanese, no idea about the language. It could own by them or someone else. But I see Dice, money, game tables. Maybe it's their site since in the topic they have similar discussion for the game.
hero member
Activity: 700
Merit: 577
November 03, 2022, 04:13:32 AM
#19
Hope you enjoy the game.

Wow!!! Game that you have not even launched, and we have not even played to Know whether is good or not and you are asking, we enjoyed the game. Is it an imagination game? To answer your question, I didn't enjoy the game.
By the way, be fair in dealing with customers to have good reputation in the casino space or world. Your yes should be your yes and your no should be your no. When the website is launched, you can still update this thread.
legendary
Activity: 2702
Merit: 1465
November 03, 2022, 02:13:24 AM
#18
Hello,

This game almost target to Japanese user because it is traditional game of Japanese.
We are making the website with English version as well. We will keep it posted here

Thanks
interested in the game, want to see what traditional japanese games can be played for gambling, i think you need to prepare also in several languages because it might be a unique game that has never existed on other gambling sites, at least english is also needed for the public, but whatever it is I will monitor this thread to see the progress of the tabsai game
I really like that with the help of your efforts, many people in the world just even learn about games that are popular in other countries.  Japan for most BTT users is a very mysterious, exotic and distant country.  And of course no one knows the culture of Japan well, and it goes without saying what traditional games of chance the Japanese play. 
I will also follow this thread because it is interesting to try to play this new game for most of the BTT community.
legendary
Activity: 2464
Merit: 1039
Bitcoin Trader
November 03, 2022, 12:08:01 AM
#17
Hello,

This game almost target to Japanese user because it is traditional game of Japanese.
We are making the website with English version as well. We will keep it posted here

Thanks
interested in the game, want to see what traditional japanese games can be played for gambling, i think you need to prepare also in several languages because it might be a unique game that has never existed on other gambling sites, at least english is also needed for the public, but whatever it is I will monitor this thread to see the progress of the tabsai game
legendary
Activity: 2450
Merit: 1047
November 02, 2022, 06:01:48 PM
#16
Hello,

This game almost target to Japanese user because it is traditional game of Japanese.
We are making the website with English version as well. We will keep it posted here

Thanks

Since you posted it here and introduced this Tabsai game, I'm sure you are going to have an announcement thread here to invite players to your English version, it's hard for us to relate to this kind of game because you did not post a clear description about the game I suggest that you create a Youtube video explainer for this so once the site is up we have a reference on what the game is all about, a video can explain what a thousand words can't.
legendary
Activity: 3346
Merit: 3130
November 02, 2022, 05:59:53 PM
#15
In a few days, we will release  Japanese gabling game call tabsai based on the TYEN token on MATIC network.

The game rule is quite simple:
- The game start with host game and players
- The host will throw 3 dices
- Base on the result of 3 dices, the host or players can be recorded as winner
- The rule mostly based on the wiki site: https://ja.m.wikipedia.org/wiki/%E3%82%BF%E3%83%96_(%E8%B3%AD%E5%8D%9A)

We are working with cryptogambling to get the certificate for a fair system.
Before getting the certificate, we post here the algorithm to get the dice result

Code:
function randomDice(seed, failPercent = 5) { // fail percent -> dice out of table
  percentSeed = seed.slice(0, 4);
  percentInt = parseInt(percentSeed, 16);
  percent = percentInt % 100;
  if (percent <= failPercent) {
    return 0;
  }

  diceInt = parseInt(seed, 16);
  return 1 + (diceInt % 6);
}

function throwDice(salt, msg) {
  const hmac = crypto.createHmac("sha256", salt);
  hmac.update(msg);
  seed = hmac.digest("hex");
  console.log(seed);

  seed1 = seed.slice(0, 10);
  seed2 = seed.slice(10, 20);
  seed3 = seed.slice(20, 30);

  dice1 = randomDice(seed1);
  dice2 = randomDice(seed2);
  dice3 = randomDice(seed3);

  return [dice1, dice2, dice3];
}

Hope you enjoy the game.

hello thanhdt, I'm a casino developer and i fully understand the provably fair engines.

The issue with your code is we don't know how you build your seed, and that process should involve the customer. Let me explain the difference.

If the seed is build with sha256(ClientSeed+ServerSeed+BetNumber) then the site is provably fair.

If the seed is provided only by the server, then it could be rigged by skipping to the next roll.

I hope this information helps in your certification.
hero member
Activity: 2744
Merit: 588
November 02, 2022, 04:45:22 PM
#14
This can be more interesting if it’s explained well and the site with the option of English language.
Well, I hope you consider this OP as you are still at the stage of developing. Many will surely get interested here as long as they see the fun here. Create a good crypto gambling site, state everything on your terms and conditions and post here again for the highlights of the site, better also if you are going to add other game as well in the site.

Yes, the OP should read the suggestions here. And the basic one is to have english language for this game.
As he posted this on this forum, I am also expecting that they will be listening to suggestions here.
This is to expand their reach to get global players. We will see how this site will progress...
The wiki link is in japanese, so let's wait if they will have english option on their game itself.
Otherwise, they can post this on their local section. It is a new game for most people here, so it may attract interest once they launched it.
sr. member
Activity: 2422
Merit: 357
November 02, 2022, 04:26:04 PM
#13
This can be more interesting if it’s explained well and the site with the option of English language.
Well, I hope you consider this OP as you are still at the stage of developing. Many will surely get interested here as long as they see the fun here. Create a good crypto gambling site, state everything on your terms and conditions and post here again for the highlights of the site, better also if you are going to add other game as well in the site.
hero member
Activity: 2842
Merit: 772
November 02, 2022, 04:17:25 PM
#12
This game almost target to Japanese user because it is traditional game of Japanese.
We are making the website with English version as well. We will keep it posted here
I am not sure if there is a Japanese local board. You are saying it's targeting the Japanese users, then you may need to consider creating another thread in your language on the local board. You will get better response than here.

I have no idea how to play the game. Not even form the rules you wrote on your OP.

Hopefully, this is just another of those "lost in translation", maybe what he meant is that of course they will target the Japanese audience, but it's better if they can expand their horizons for non-Japanese as well?

I think it will be good though as many gamblers will like to try local games as well.

So good luck to the OP and hopefully you will can some traction amongst gamblers here (Japanese and non-Japanese).
legendary
Activity: 3416
Merit: 1225
Enjoy 500% bonus + 70 FS
November 02, 2022, 04:12:18 PM
#11
This is new and the explanation OP provided did not provide anything I ask him to just gave a full description of the game while checking the internet for available information about this tabsai game I stumble this http://www.tabsai.com/
do you own this website its a newly registered domain

Domain:tabsai.com
Registrar:GMO Internet, Inc. d/b/a Onamae.com
Registered On:2022-09-08
Expires On:2023-09-08
Updated On:2022-10-13
Status:ok

Anyway, it's better to wait I want a clear picture of the game, it can only happen when you launch your site.
hero member
Activity: 2268
Merit: 669
Bitcoin Casino Est. 2013
November 02, 2022, 12:29:52 PM
#10
I don't know what game this is but I would like to know what this game will be once it is finished. Anyway, just base on the op like the game use three dice which UserU guess that it could be sicbo game which OP might be creating and my guess is kind of the same which also use three dice that is called ceelo. I might be wrong about my guess but I think it might be what op want to make since it is also played in japan too.

https://en.wikipedia.org/wiki/Cee-lo

The Wikipedia link is indeed broken. Even if it's Japanese language, I still have no problem with it as you can just change the "JA" in the link to "EN" to change it to english
hero member
Activity: 2254
Merit: 537
My passive income eBook @ tinyurl.com/PIA10
November 02, 2022, 09:49:12 AM
#9
Wikipedia link is broken



From your explanation, it looks like a hi-lo dice to me. Any specifics which differs this game from other games?

Is the direct translation of the Japanese word "tabsai" is "sure"? I tried to look for this game but for some reason there are no results showing related to game.

My educated guess would be Sic Bo, although it's Chinese. Played with 3 dice as well

https://en.wikipedia.org/wiki/Sic_bo

hero member
Activity: 1106
Merit: 570
November 02, 2022, 09:42:54 AM
#8
Hello,

This game almost target to Japanese user because it is traditional game of Japanese.
We are making the website with English version as well. We will keep it posted here

Thanks
Japan has been one of my most respected places, and having you guys getting involve in this, then I'm certain it will awesome .
I hope an English version to everything you guys do is also published so as to enhance participation from none japanese speaking individuals.
Wishing you guys goodluck and aso hoping to get the best out of what you have to offer.
hero member
Activity: 2926
Merit: 567
November 02, 2022, 09:28:56 AM
#7
Hello,

This game almost target to Japanese user because it is traditional game of Japanese.
We are making the website with English version as well. We will keep it posted here

Thanks
There are a lot of interesting things coming out of Japan and this one could be one of them, I'm looking forward to seeing how it works and the whole concept, it's better to see it when the site is up with the English version who knows if the game is really
that good and game providers will add this game, looking forward to your official announcement.
sr. member
Activity: 1764
Merit: 260
November 02, 2022, 09:27:14 AM
#6


From your explanation, it looks like a hi-lo dice to me. Any specifics which differs this game from other games?

Is the direct translation of the Japanese word "tabsai" is "sure"? I tried to look for this game but for some reason there are no results showing related to game.
legendary
Activity: 2800
Merit: 2736
Farewell LEO: o_e_l_e_o
November 02, 2022, 09:00:03 AM
#5
This game almost target to Japanese user because it is traditional game of Japanese.
We are making the website with English version as well. We will keep it posted here
I am not sure if there is a Japanese local board. You are saying it's targeting the Japanese users, then you may need to consider creating another thread in your language on the local board. You will get better response than here.

I have no idea how to play the game. Not even form the rules you wrote on your OP.
newbie
Activity: 2
Merit: 0
November 02, 2022, 08:40:52 AM
#4
Hello,

This game almost target to Japanese user because it is traditional game of Japanese.
We are making the website with English version as well. We will keep it posted here

Thanks
legendary
Activity: 2618
Merit: 1505
November 02, 2022, 08:21:59 AM
#3
In a few days, we will release  Japanese gabling game call tabsai based on the TYEN token on MATIC network.

The game rule is quite simple:
- The game start with host game and players
- The host will throw 3 dices
- Base on the result of 3 dices, the host or players can be recorded as winner
- The rule mostly based on the wiki site: https://ja.m.wikipedia.org/wiki/%E3%82%BF%E3%83%96_(%E8%B3%AD%E5%8D%9A)

Although your link is in Japanese, but with a translator you can see that "There is currently no element with this name in Wikipedia" so either the description of the tabsai game was not added to the wiki, or it was deleted after editing
legendary
Activity: 2464
Merit: 3878
Hire Bitcointalk Camp. Manager @ r7promotions.com
November 02, 2022, 04:57:23 AM
#2
The game rule is quite simple:
- The game start with host game and players
- The host will throw 3 dices
- Base on the result of 3 dices, the host or players can be recorded as winner
- The rule mostly based on the wiki site: https://ja.m.wikipedia.org/wiki/%E3%82%BF%E3%83%96_(%E8%B3%AD%E5%8D%9A)
The contents of the link are in Japanese language I assume. It's hard to get the idea of the game both from your description and the code you provided (or algorithm). Is there any YouTube version available online to watch.
newbie
Activity: 2
Merit: 0
November 02, 2022, 04:50:17 AM
#1
In a few days, we will release  Japanese gabling game call tabsai based on the TYEN token on MATIC network.

The game rule is quite simple:
- The game start with host game and players
- The host will throw 3 dices
- Base on the result of 3 dices, the host or players can be recorded as winner
- The rule mostly based on the wiki site: https://ja.m.wikipedia.org/wiki/%E3%82%BF%E3%83%96_(%E8%B3%AD%E5%8D%9A)

We are working with cryptogambling to get the certificate for a fair system.
Before getting the certificate, we post here the algorithm to get the dice result

Code:
function randomDice(seed, failPercent = 5) { // fail percent -> dice out of table
  percentSeed = seed.slice(0, 4);
  percentInt = parseInt(percentSeed, 16);
  percent = percentInt % 100;
  if (percent <= failPercent) {
    return 0;
  }

  diceInt = parseInt(seed, 16);
  return 1 + (diceInt % 6);
}

function throwDice(salt, msg) {
  const hmac = crypto.createHmac("sha256", salt);
  hmac.update(msg);
  seed = hmac.digest("hex");
  console.log(seed);

  seed1 = seed.slice(0, 10);
  seed2 = seed.slice(10, 20);
  seed3 = seed.slice(20, 30);

  dice1 = randomDice(seed1);
  dice2 = randomDice(seed2);
  dice3 = randomDice(seed3);

  return [dice1, dice2, dice3];
}

Hope you enjoy the game.
Jump to: