Bitcoin Forum
November 05, 2024, 12:48:25 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Could you create a crypto game witn an ASCII deck?  (Read 83 times)
seoincorporation (OP)
Legendary
*
Offline Offline

Activity: 3332
Merit: 3115



View Profile
November 17, 2022, 04:02:37 AM
 #1

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?

▄▄███████▄▄
▄██████████████▄
▄██████████████████▄
▄████▀▀▀▀███▀▀▀▀█████▄
▄█████████████▄█▀████▄
███████████▄███████████
██████████▄█▀███████████
██████████▀████████████
▀█████▄█▀█████████████▀
▀████▄▄▄▄███▄▄▄▄████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀
.
 MΞTAWIN  THE FIRST WEB3 CASINO   
.
.. PLAY NOW ..
Yatsan
Legendary
*
artcontest
Offline Offline

Activity: 2576
Merit: 1252


Leading Crypto Sports Betting & Casino Platform


View Profile
November 17, 2022, 07:14:19 AM
Merited by seoincorporation (1)
 #2

 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.

..Stake.com..   ▄████████████████████████████████████▄
   ██ ▄▄▄▄▄▄▄▄▄▄            ▄▄▄▄▄▄▄▄▄▄ ██  ▄████▄
   ██ ▀▀▀▀▀▀▀▀▀▀ ██████████ ▀▀▀▀▀▀▀▀▀▀ ██  ██████
   ██ ██████████ ██      ██ ██████████ ██   ▀██▀
   ██ ██      ██ ██████  ██ ██      ██ ██    ██
   ██ ██████  ██ █████  ███ ██████  ██ ████▄ ██
   ██ █████  ███ ████  ████ █████  ███ ████████
   ██ ████  ████ ██████████ ████  ████ ████▀
   ██ ██████████ ▄▄▄▄▄▄▄▄▄▄ ██████████ ██
   ██            ▀▀▀▀▀▀▀▀▀▀            ██ 
   ▀█████████▀ ▄████████████▄ ▀█████████▀
  ▄▄▄▄▄▄▄▄▄▄▄▄███  ██  ██  ███▄▄▄▄▄▄▄▄▄▄▄▄
 ██████████████████████████████████████████
▄▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▄
█  ▄▀▄             █▀▀█▀▄▄
█  █▀█             █  ▐  ▐▌
█       ▄██▄       █  ▌  █
█     ▄██████▄     █  ▌ ▐▌
█    ██████████    █ ▐  █
█   ▐██████████▌   █ ▐ ▐▌
█    ▀▀██████▀▀    █ ▌ █
█     ▄▄▄██▄▄▄     █ ▌▐▌
█                  █▐ █
█                  █▐▐▌
█                  █▐█
▀▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▀█
▄▄█████████▄▄
▄██▀▀▀▀█████▀▀▀▀██▄
▄█▀       ▐█▌       ▀█▄
██         ▐█▌         ██
████▄     ▄█████▄     ▄████
████████▄███████████▄████████
███▀    █████████████    ▀███
██       ███████████       ██
▀█▄       █████████       ▄█▀
▀█▄    ▄██▀▀▀▀▀▀▀██▄  ▄▄▄█▀
▀███████         ███████▀
▀█████▄       ▄█████▀
▀▀▀███▄▄▄███▀▀▀
..PLAY NOW..
seoincorporation (OP)
Legendary
*
Offline Offline

Activity: 3332
Merit: 3115



View Profile
November 17, 2022, 10:27:01 PM
Merited by Yatsan (1)
 #3

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.

▄▄███████▄▄
▄██████████████▄
▄██████████████████▄
▄████▀▀▀▀███▀▀▀▀█████▄
▄█████████████▄█▀████▄
███████████▄███████████
██████████▄█▀███████████
██████████▀████████████
▀█████▄█▀█████████████▀
▀████▄▄▄▄███▄▄▄▄████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀
.
 MΞTAWIN  THE FIRST WEB3 CASINO   
.
.. PLAY NOW ..
Yatsan
Legendary
*
artcontest
Offline Offline

Activity: 2576
Merit: 1252


Leading Crypto Sports Betting & Casino Platform


View Profile
November 18, 2022, 02:09:04 AM
 #4

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?

..Stake.com..   ▄████████████████████████████████████▄
   ██ ▄▄▄▄▄▄▄▄▄▄            ▄▄▄▄▄▄▄▄▄▄ ██  ▄████▄
   ██ ▀▀▀▀▀▀▀▀▀▀ ██████████ ▀▀▀▀▀▀▀▀▀▀ ██  ██████
   ██ ██████████ ██      ██ ██████████ ██   ▀██▀
   ██ ██      ██ ██████  ██ ██      ██ ██    ██
   ██ ██████  ██ █████  ███ ██████  ██ ████▄ ██
   ██ █████  ███ ████  ████ █████  ███ ████████
   ██ ████  ████ ██████████ ████  ████ ████▀
   ██ ██████████ ▄▄▄▄▄▄▄▄▄▄ ██████████ ██
   ██            ▀▀▀▀▀▀▀▀▀▀            ██ 
   ▀█████████▀ ▄████████████▄ ▀█████████▀
  ▄▄▄▄▄▄▄▄▄▄▄▄███  ██  ██  ███▄▄▄▄▄▄▄▄▄▄▄▄
 ██████████████████████████████████████████
▄▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▄
█  ▄▀▄             █▀▀█▀▄▄
█  █▀█             █  ▐  ▐▌
█       ▄██▄       █  ▌  █
█     ▄██████▄     █  ▌ ▐▌
█    ██████████    █ ▐  █
█   ▐██████████▌   █ ▐ ▐▌
█    ▀▀██████▀▀    █ ▌ █
█     ▄▄▄██▄▄▄     █ ▌▐▌
█                  █▐ █
█                  █▐▐▌
█                  █▐█
▀▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▀█
▄▄█████████▄▄
▄██▀▀▀▀█████▀▀▀▀██▄
▄█▀       ▐█▌       ▀█▄
██         ▐█▌         ██
████▄     ▄█████▄     ▄████
████████▄███████████▄████████
███▀    █████████████    ▀███
██       ███████████       ██
▀█▄       █████████       ▄█▀
▀█▄    ▄██▀▀▀▀▀▀▀██▄  ▄▄▄█▀
▀███████         ███████▀
▀█████▄       ▄█████▀
▀▀▀███▄▄▄███▀▀▀
..PLAY NOW..
seoincorporation (OP)
Legendary
*
Offline Offline

Activity: 3332
Merit: 3115



View Profile
November 18, 2022, 05:04:57 PM
 #5

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.

▄▄███████▄▄
▄██████████████▄
▄██████████████████▄
▄████▀▀▀▀███▀▀▀▀█████▄
▄█████████████▄█▀████▄
███████████▄███████████
██████████▄█▀███████████
██████████▀████████████
▀█████▄█▀█████████████▀
▀████▄▄▄▄███▄▄▄▄████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀
.
 MΞTAWIN  THE FIRST WEB3 CASINO   
.
.. PLAY NOW ..
Saint-loup
Legendary
*
Offline Offline

Activity: 2786
Merit: 2428



View Profile
November 18, 2022, 07:16:36 PM
 #6

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?

██
██
██
██
██
██
██
██
██
██
██
██
██
... LIVECASINO.io    Play Live Games with up to 20% cashback!...██
██
██
██
██
██
██
██
██
██
██
██
██
seoincorporation (OP)
Legendary
*
Offline Offline

Activity: 3332
Merit: 3115



View Profile
November 20, 2022, 12:10:07 AM
 #7

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.


▄▄███████▄▄
▄██████████████▄
▄██████████████████▄
▄████▀▀▀▀███▀▀▀▀█████▄
▄█████████████▄█▀████▄
███████████▄███████████
██████████▄█▀███████████
██████████▀████████████
▀█████▄█▀█████████████▀
▀████▄▄▄▄███▄▄▄▄████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀
.
 MΞTAWIN  THE FIRST WEB3 CASINO   
.
.. PLAY NOW ..
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!