Bitcoin Forum
May 11, 2024, 05:26:13 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Warning: One or more bitcointalk.org users have reported that they strongly believe that the creator of this topic is a scammer. (Login to see the detailed trust ratings.) While the bitcointalk.org administration does not verify such claims, you should proceed with extreme caution.
Pages: [1]
  Print  
Author Topic: Altcoin Dice game script?  (Read 1808 times)
datguys (OP)
Member
**
Offline Offline

Activity: 98
Merit: 10


View Profile
January 04, 2014, 10:19:10 PM
 #1

Is there any free scripts that can be implemented in to new altcoins? php prefrably
1715405173
Hero Member
*
Offline Offline

Posts: 1715405173

View Profile Personal Message (Offline)

Ignore
1715405173
Reply with quote  #2

1715405173
Report to moderator
Each block is stacked on top of the previous one. Adding another block to the top makes all lower blocks more difficult to remove: there is more "weight" above each block. A transaction in a block 6 blocks deep (6 confirmations) will be very difficult to remove.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715405173
Hero Member
*
Offline Offline

Posts: 1715405173

View Profile Personal Message (Offline)

Ignore
1715405173
Reply with quote  #2

1715405173
Report to moderator
1715405173
Hero Member
*
Offline Offline

Posts: 1715405173

View Profile Personal Message (Offline)

Ignore
1715405173
Reply with quote  #2

1715405173
Report to moderator
1715405173
Hero Member
*
Offline Offline

Posts: 1715405173

View Profile Personal Message (Offline)

Ignore
1715405173
Reply with quote  #2

1715405173
Report to moderator
NoahBuscher
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile WWW
January 05, 2014, 02:48:06 AM
 #2

First you'll need to install a X-coin daemon onto something like a Digital Ocean Ubuntu server. That's what I use for hosting mine.

As far as finding good, full code repos... That's where your luck ends, though it would not be that difficult to hook into the daemon with JSON RPC and just Google for 'PHP dice scripts', it comes up with a fairly long list of code sites and blogs with examples, such as this one. From there, you just need to modify it to send / retrieve coins from the game's wallet hosted on the Ubuntu server. You could also make the game go a ton faster by not having to wait for transactions on each roll, but instead keep the values in a simple database (that's super secure), so that when the user wishes to cash out, THEN it sends the money to the user's preferred address, instead of sending tiny amounts to their address on each bet. Feel free to ask if you need more detail.

If you don't know how to develop in PHP or another server-side language like Ruby on Rails or Node.js, you would be hard pressed to start a new site. So in the end you're really left with two difficult options: Create the site from scratch yourself or outsource another developer. Sorry. Tongue
predictbits
Newbie
*
Offline Offline

Activity: 17
Merit: 0


View Profile WWW
January 05, 2014, 06:18:23 AM
 #3

Noah,

Thank you for this terrific response. I opened the thread with the intention of answering then saw this Smiley
NoahBuscher
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile WWW
January 05, 2014, 02:19:09 PM
 #4

Noah,

Thank you for this terrific response. I opened the thread with the intention of answering then saw this Smiley

LOL. Sure!
EventualCoinMillionaire
Member
**
Offline Offline

Activity: 83
Merit: 10


View Profile
February 19, 2014, 11:39:05 PM
 #5

Thanks for the info and link!

BTC 1juX6F2mgRCMS6meMmH8yjtDXD16GwVfm
DOGE DFznCPX2usMnxzVto2hmcMckhPGyXWVXrZ
RDD RcCqrHqmVh1jF197psMBiYPGdtnoQwREVQ
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!