Author

Topic: Could you create a crypto game witn an ASCII deck? (Read 83 times)

legendary
Activity: 3346
Merit: 3125
It's interesting, you are planning to offer it in the Games & Rounds section to play against other users? How people would bet precisely? You should explain the rules more in details or make a small tutorial, if you want to attract people IMO because it's not very easy to understand how it will work in practice for poker newbies.
BTW is it ASCII or Unicode characters?

To have the tutorial first we have to create the game, let me explain what would i do with the current tools i have, but the idea is to see if other users can create one...

Lets say we create a virtual texas poker table for 7 users, the first step would be to shuffle our deck:

Code:
$ echo '๐Ÿ‚ก๐Ÿ‚ข๐Ÿ‚ฃ๐Ÿ‚ค๐Ÿ‚ฅ๐Ÿ‚ฆ๐Ÿ‚ง๐Ÿ‚จ๐Ÿ‚ฉ๐Ÿ‚ช๐Ÿ‚ซ๐Ÿ‚ญ๐Ÿ‚ฎ๐Ÿ‚ฑ๐Ÿ‚ณ๐Ÿ‚ฒ๐Ÿ‚ด๐Ÿ‚ต๐Ÿ‚ถ๐Ÿ‚ท๐Ÿ‚ธ๐Ÿ‚น๐Ÿ‚บ๐Ÿ‚ป๐Ÿ‚ฝ๐Ÿ‚พ๐Ÿƒ๐Ÿƒ‚๐Ÿƒƒ๐Ÿƒ„๐Ÿƒ…๐Ÿƒ†๐Ÿƒ‡๐Ÿƒˆ๐Ÿƒ‰๐ŸƒŠ๐Ÿƒ‹๐Ÿƒ๐ŸƒŽ๐Ÿƒ‘๐Ÿƒ’๐Ÿƒ“๐Ÿƒ”๐Ÿƒ•๐Ÿƒ–๐Ÿƒ—๐Ÿƒ˜๐Ÿƒ™๐Ÿƒš๐Ÿƒ›๐Ÿƒ๐Ÿƒž' | sed 's/./&\n/g' | shuf | tr -d "\n"
๐Ÿƒ™๐Ÿ‚ง๐Ÿ‚บ๐Ÿ‚ฒ๐Ÿ‚ญ๐Ÿ‚ฃ๐Ÿƒ‘๐Ÿ‚ช๐Ÿ‚ข๐Ÿ‚ณ๐Ÿƒ‚๐Ÿƒ›๐Ÿ‚ฝ๐Ÿƒ˜๐Ÿƒ”๐Ÿƒž๐Ÿ‚ด๐Ÿƒ‹๐Ÿ‚ถ๐Ÿƒ„๐Ÿƒ๐ŸƒŽ๐Ÿ‚ฎ๐Ÿ‚ป๐Ÿƒ‡๐Ÿƒ•๐Ÿƒ“๐Ÿƒ’๐Ÿƒš๐Ÿ‚ต๐Ÿƒƒ๐Ÿ‚ซ๐Ÿ‚พ๐Ÿ‚ฆ๐Ÿ‚ก๐Ÿƒ–๐Ÿƒˆ๐Ÿ‚จ๐Ÿ‚ธ๐Ÿ‚ท๐Ÿƒ๐Ÿƒ—๐Ÿ‚ค๐Ÿƒ…๐Ÿ‚น๐Ÿ‚ฅ๐Ÿƒ‰๐Ÿƒ๐Ÿ‚ฉ๐ŸƒŠ๐Ÿ‚ฑ๐Ÿƒ†

Then we sha256 that deck:

Code:
D39832C0A131C77A01087E77C62249A6BB832300AF1E6EADC3D4AA87F52EC57F

Then we select the cards for the game, and for each user in consecutive order...

Game:๐Ÿƒ™๐Ÿ‚ง๐Ÿ‚บ๐Ÿ‚ฒ๐Ÿ‚ญ๐Ÿ‚ฃ๐Ÿƒ‘๐Ÿ‚ช๐Ÿ‚ข๐Ÿ‚ณ๐Ÿƒ‚๐Ÿƒ›๐Ÿ‚ฝ๐Ÿƒ˜๐Ÿƒ”๐Ÿƒž๐Ÿ‚ด๐Ÿƒ‹๐Ÿ‚ถ๐Ÿƒ„๐Ÿƒ๐ŸƒŽ๐Ÿ‚ฎ๐Ÿ‚ป๐Ÿƒ‡๐Ÿƒ•๐Ÿƒ“๐Ÿƒ’๐Ÿƒš๐Ÿ‚ต๐Ÿƒƒ๐Ÿ‚ซ๐Ÿ‚พ๐Ÿ‚ฆ๐Ÿ‚ก๐Ÿƒ–๐Ÿƒˆ๐Ÿ‚จ๐Ÿ‚ธ๐Ÿ‚ท๐Ÿƒ๐Ÿƒ—๐Ÿ‚ค๐Ÿƒ…๐Ÿ‚น๐Ÿ‚ฅ๐Ÿƒ‰๐Ÿƒ๐Ÿ‚ฉ๐ŸƒŠ๐Ÿ‚ฑ๐Ÿƒ†
User1:๐Ÿƒ™๐Ÿ‚ง๐Ÿ‚บ๐Ÿ‚ฒ๐Ÿ‚ญ๐Ÿ‚ฃ๐Ÿƒ‘๐Ÿ‚ช๐Ÿ‚ข๐Ÿ‚ณ๐Ÿƒ‚๐Ÿƒ›๐Ÿ‚ฝ๐Ÿƒ˜๐Ÿƒ”๐Ÿƒž๐Ÿ‚ด๐Ÿƒ‹๐Ÿ‚ถ๐Ÿƒ„๐Ÿƒ๐ŸƒŽ๐Ÿ‚ฎ๐Ÿ‚ป๐Ÿƒ‡๐Ÿƒ•๐Ÿƒ“๐Ÿƒ’๐Ÿƒš๐Ÿ‚ต๐Ÿƒƒ๐Ÿ‚ซ๐Ÿ‚พ๐Ÿ‚ฆ๐Ÿ‚ก๐Ÿƒ–๐Ÿƒˆ๐Ÿ‚จ๐Ÿ‚ธ๐Ÿ‚ท๐Ÿƒ๐Ÿƒ—๐Ÿ‚ค๐Ÿƒ…๐Ÿ‚น๐Ÿ‚ฅ๐Ÿƒ‰๐Ÿƒ๐Ÿ‚ฉ๐ŸƒŠ๐Ÿ‚ฑ๐Ÿƒ†
user2:๐Ÿƒ™๐Ÿ‚ง๐Ÿ‚บ๐Ÿ‚ฒ๐Ÿ‚ญ๐Ÿ‚ฃ๐Ÿƒ‘๐Ÿ‚ช๐Ÿ‚ข๐Ÿ‚ณ๐Ÿƒ‚๐Ÿƒ›๐Ÿ‚ฝ๐Ÿƒ˜๐Ÿƒ”๐Ÿƒž๐Ÿ‚ด๐Ÿƒ‹๐Ÿ‚ถ๐Ÿƒ„๐Ÿƒ๐ŸƒŽ๐Ÿ‚ฎ๐Ÿ‚ป๐Ÿƒ‡๐Ÿƒ•๐Ÿƒ“๐Ÿƒ’๐Ÿƒš๐Ÿ‚ต๐Ÿƒƒ๐Ÿ‚ซ๐Ÿ‚พ๐Ÿ‚ฆ๐Ÿ‚ก๐Ÿƒ–๐Ÿƒˆ๐Ÿ‚จ๐Ÿ‚ธ๐Ÿ‚ท๐Ÿƒ๐Ÿƒ—๐Ÿ‚ค๐Ÿƒ…๐Ÿ‚น๐Ÿ‚ฅ๐Ÿƒ‰๐Ÿƒ๐Ÿ‚ฉ๐ŸƒŠ๐Ÿ‚ฑ๐Ÿƒ†
...

And that way the game will look like this:

Table:๐Ÿƒ™๐Ÿ‚ง๐Ÿ‚บ๐Ÿ‚ฒ๐Ÿ‚ญ, P1:๐Ÿ‚ฃ๐Ÿƒ‘, P2:๐Ÿ‚ช๐Ÿ‚ข, P3:๐Ÿ‚ณ๐Ÿƒ‚, P4:๐Ÿƒ›๐Ÿ‚ฝ, P5:๐Ÿƒ˜๐Ÿƒ”, P6:๐Ÿƒž๐Ÿ‚ด, P7:๐Ÿƒ‹๐Ÿ‚ถ.

And the winner using the Texas Hold'em rules would be: Player 2 with two pairs: ๐Ÿ‚บ๐Ÿ‚ฒ๐Ÿ‚ญ๐Ÿ‚ช๐Ÿ‚ข

The way to roll the game is by posting the Sha256 code in the thread and letting users choose a number between 1 and 7, and to make it fair you post the shuffled deck when the game is over, that way users can verify the game.

legendary
Activity: 2604
Merit: 2353
It's interesting, you are planning to offer it in the Games & Rounds section to play against other users? How people would bet precisely? You should explain the rules more in details or make a small tutorial, if you want to attract people IMO because it's not very easy to understand how it will work in practice for poker newbies.
BTW is it ASCII or Unicode characters?
legendary
Activity: 3346
Merit: 3125
But one last question, what software/app to be used if you'd be playing poker using ASCII deck to run the game smoothly?

From what i understand there are not a software for it, but it would be nice to build one. Too bad i'm busy as hell right now, but when i find some free time i will start building it and make it opensource. It would be nice if i can include games like Texas and BlackJack, the logic behind texas is simple because we always use the same amount of cards, but since we have a dynamic number of cards for each BlackJack game it would be a little more complex, i will figure out a way to code that one.
legendary
Activity: 2576
Merit: 1252
Leading Crypto Sports Betting & Casino Platform
But if it is virtual card, this involves coding right? Thr only thing I know id that this would more likely work with non-mobility kind of gambling games?I guess?
You don't really need coding skills you only need encryption skills, and that isn't hard at all, you only copy the cards string.

Code:
๐Ÿƒ™๐Ÿƒš๐Ÿƒ›๐Ÿƒ๐Ÿƒž

And paste it on https://www.convertstring.com/es/Hash/SHA256 to get the game hash:

Code:
ECD59171E00D9C32FE0A688B429838C64C73516B20477F71FE2F68EB90FD6E21

This is a only to make the game provably fair...

I tried searching about this ASCII and it showed me characters which can be manipulated in colors and shapes;basically that's coding. I think this would be fun for those who are having fun of coding, but to yhose who are not, like me, Id probably choose convenience and just play with my gambling website.

They are ASCII chars, that means its one more char just like "&" or "รฑ"... The human can see the chars an deduct what hand is that, for example, the next hand is a poker hand with five as kicker.
Code:
๐Ÿ‚ก๐Ÿ‚ฑ๐Ÿƒ๐Ÿƒ‘๐Ÿ‚ต

And the colors comes from CSS style, the same way that we can change color to text.

If you want to automate the process and let the machine choose the best hand, then you have to give a color and weigh to the cards to verify if one hand is better than other hand, but for that you need coding.
Awesome, I appreciate your explanation with this one. I might be overwhelemed by characters. Anyway this is interesting especially if the would be a presentation or video I think with steps for more people to be used to it. Also, if it would be a game, I think it is better (if possible) to put the hash generator and a virtual gaming table in one platform to avoid being dull with tab shifting right? If I get it correctly. Honestly haven't tried it but will do this weekend 'coz it caught my interest. Will be also awesome if other players would share their takes on this one. But one last question, what software/app to be used if you'd be playing poker using ASCII deck to run the game smoothly?
legendary
Activity: 3346
Merit: 3125
But if it is virtual card, this involves coding right? Thr only thing I know id that this would more likely work with non-mobility kind of gambling games?I guess?
You don't really need coding skills you only need encryption skills, and that isn't hard at all, you only copy the cards string.

Code:
๐Ÿƒ™๐Ÿƒš๐Ÿƒ›๐Ÿƒ๐Ÿƒž

And paste it on https://www.convertstring.com/es/Hash/SHA256 to get the game hash:

Code:
ECD59171E00D9C32FE0A688B429838C64C73516B20477F71FE2F68EB90FD6E21

This is a only to make the game provably fair...

I tried searching about this ASCII and it showed me characters which can be manipulated in colors and shapes;basically that's coding. I think this would be fun for those who are having fun of coding, but to yhose who are not, like me, Id probably choose convenience and just play with my gambling website.

They are ASCII chars, that means its one more char just like "&" or "รฑ"... The human can see the chars an deduct what hand is that, for example, the next hand is a poker hand with five as kicker.
Code:
๐Ÿ‚ก๐Ÿ‚ฑ๐Ÿƒ๐Ÿƒ‘๐Ÿ‚ต

And the colors comes from CSS style, the same way that we can change color to text.

If you want to automate the process and let the machine choose the best hand, then you have to give a color and weigh to the cards to verify if one hand is better than other hand, but for that you need coding.
legendary
Activity: 2576
Merit: 1252
Leading Crypto Sports Betting & Casino Platform
ย A game could be really created; it was also a good example. But I think it would be hard for a normal individual, perhaps I, toย  create a game with it since I'm quite having a grasp of its idea and is still struggling to cope up with your example. But if it is virtual card, this involves coding right? Thr only thing I know id that this would more likely work with non-mobility kind of gambling games?I guess? I tried searching about this ASCII and it showed me characters which can be manipulated in colors and shapes;basically that's coding. I think this would be fun for those who are having fun of coding, but to yhose who are not, like me, Id probably choose convenience and just play with my gambling website.
legendary
Activity: 3346
Merit: 3125
Let's say you have an ASCII deck and you have to create a crypto game.

Code:
๐Ÿ‚ ๐Ÿ‚ก๐Ÿ‚ข๐Ÿ‚ฃ๐Ÿ‚ค๐Ÿ‚ฅ๐Ÿ‚ฆ๐Ÿ‚ง๐Ÿ‚จ๐Ÿ‚ฉ๐Ÿ‚ช๐Ÿ‚ซ๐Ÿ‚ญ๐Ÿ‚ฎ๐Ÿ‚ฑ๐Ÿ‚ณ๐Ÿ‚ฒ๐Ÿ‚ด๐Ÿ‚ต๐Ÿ‚ถ๐Ÿ‚ท๐Ÿ‚ธ๐Ÿ‚น๐Ÿ‚บ๐Ÿ‚ป๐Ÿ‚ฝ๐Ÿ‚พ๐Ÿƒ๐Ÿƒ‚๐Ÿƒƒ๐Ÿƒ„๐Ÿƒ…๐Ÿƒ†๐Ÿƒ‡๐Ÿƒˆ๐Ÿƒ‰๐ŸƒŠ๐Ÿƒ‹๐Ÿƒ๐ŸƒŽ๐Ÿƒ‘๐Ÿƒ’๐Ÿƒ“๐Ÿƒ”๐Ÿƒ•๐Ÿƒ–๐Ÿƒ—๐Ÿƒ˜๐Ÿƒ™๐Ÿƒš๐Ÿƒ›๐Ÿƒ๐Ÿƒž

Let me give you some hints.

You can select a card strings and make them a hash, lets say:

Code:
๐Ÿ‚ต๐Ÿ‚ถ๐Ÿ‚ท๐Ÿ‚ธ๐Ÿ‚น๐Ÿ‚บ๐Ÿ‚ป๐Ÿ‚ฝ๐Ÿ‚พ๐Ÿƒ๐Ÿƒ‚๐Ÿƒƒ๐Ÿƒ„๐Ÿƒ…๐Ÿƒ†๐Ÿƒ‡๐Ÿƒˆ
Sha256:
Code:
8C77644A410C4A23F76E4432357E84BCFDB2A8AFA93773EAEF9C24A51983C518

When you provide that hash sting to the user, that means the cards has been selected, you could say the last 5 cards are the table cards. and the other 12 cards are the users cards for 6 users Texas Table.

๐Ÿ‚ต๐Ÿ‚ถ๐Ÿ‚ท๐Ÿ‚ธ๐Ÿ‚น๐Ÿ‚บ๐Ÿ‚ป๐Ÿ‚ฝ๐Ÿ‚พ๐Ÿƒ๐Ÿƒ‚๐Ÿƒƒ๐Ÿƒ„๐Ÿƒ…๐Ÿƒ†๐Ÿƒ‡๐Ÿƒˆ

So, i would like to read some ideas. What would you do with a virtual deck?
Jump to: