Author

Topic: Altcoin Dice game script? (Read 1830 times)

member
Activity: 83
Merit: 10
February 19, 2014, 06:39:05 PM
#5
Thanks for the info and link!
newbie
Activity: 14
Merit: 0
January 05, 2014, 09:19:09 AM
#4
Noah,

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

LOL. Sure!
newbie
Activity: 17
Merit: 0
January 05, 2014, 01:18:23 AM
#3
Noah,

Thank you for this terrific response. I opened the thread with the intention of answering then saw this Smiley
newbie
Activity: 14
Merit: 0
January 04, 2014, 09:48:06 PM
#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
member
Activity: 98
Merit: 10
January 04, 2014, 05:19:10 PM
#1
Is there any free scripts that can be implemented in to new altcoins? php prefrably
Jump to: