Author

Topic: How do I make a dice game? (Read 886 times)

hero member
Activity: 868
Merit: 1000
April 27, 2014, 11:40:34 PM
#17
go to my site and see over 50 dice sites:


cryptobettingindex.com




you can thank me later





newbie
Activity: 5
Merit: 0
April 27, 2014, 10:43:32 PM
#16


and what ever you do don't use not existent btc for the faucet

How do I set it up without putting existing coins in?


people will abuse  any flaw in your site they can for free btc so make sure to build it right the first time

ha, I know man, if it's vulnerable I'll be ripped, I have a couple of scripts here, I'm going to go over them all line by line before deploying any of them.

you could simply do a points system or something similar  so 1 btc = 10000 pints so i can give you 10 free point from the faucet your balance must be 0 to use

the faucet every time you use it and since the odds of winning so much to be able to withdraw that amount is so small you could just have it say it give you 10 

points but i don't have the btc to back the 10 points kinda like a credit system ( i am getting myself confused trying to explain) this but simply just make sure you

have btc in the faucet


also if you take a look in the market place you will find a few 1 is a prime dice copy and i have seen 1 dice site get hacked by using it as some troll used a script to

abuse the faucet and get like .01 btc from it and was about to cash out hence why i said a approval cash out system is a good idea
full member
Activity: 210
Merit: 101
★Bitvest.io★ Play Plinko or Invest!
April 27, 2014, 05:35:40 PM
#15


and what ever you do don't use not existent btc for the faucet

How do I set it up without putting existing coins in?


people will abuse  any flaw in your site they can for free btc so make sure to build it right the first time

ha, I know man, if it's vulnerable I'll be ripped, I have a couple of scripts here, I'm going to go over them all line by line before deploying any of them.
full member
Activity: 210
Merit: 101
★Bitvest.io★ Play Plinko or Invest!
April 27, 2014, 05:28:57 PM
#14

I think what he means is that you would be responsible for other peoples money (coins they have on your betting engine) and its your blood they would come looking for if your site got hacked.

Hosting anything that involves other peoples coins can get really stressful and you really need to know what your doing and how to quickly fix any problems that arise.
ah OK, I understand now, I don't gamble so I didn't understand how the game works, I overlooked the fact someone has to make a deposit on my site to play. It looks like a big challenge now  Grin

A good starting point is to make a faucet. Search github for them.
Then you will have a basic idea how to use daemon RPC calls to move coins and what sort of database operations are needed.

Next thing is to learn what "provably fair" means and what ways are there to implement that.

You should also know a bit of HTML5 game programming, and be well versed on web security issues (very important here).
Thanks man, solid advice, I've got my hands on a faucet so I'll play around with that first. I've never looked at html5 game programming specifically but it can't be much different from what I'm used to.

I'm launching a coin in a few weeks so I'm going to be hacker target number 1 very soon whether I like it or not but I'm up for the challenge.

EDIT: Just seen your reply pat446, brilliant advice, it gives me alot to think about, thanks.
newbie
Activity: 5
Merit: 0
April 27, 2014, 05:21:34 PM
#13

good starting place is to look at other dice sites and figure out what you want yours to do and don't buy any pre made scripts many can be hacked (at least the 3 i have seen) and have your btc stolen learn how to write it your self may take a long time but btc is young and you still have time to get in with a betting site before everything takes off

list of stuff you will have to do to start this is not everything but a good start of what you will need

a faucet but make sure it can't be abused people like free stuff to not risking any money when they start using your site billds trust

to be provenly far (even though you will the odds are never in the users favor)

cold storage if not most but all btc in it as hot wallets get hacked
 

being able to have investors so your don't have to front all the btc

anonymous server for the site your don't want any crazy people showing up at your house if they lose a lot of btc (keep the government court orders out of the site)

DDOS protections people will attack the site( prime dice uses cloud flare 200.00 a month ) don't be cheap get it from the beginning or you will be sorry

fast deposits aka 0 comfurmaion playing

form to able to contact site for a bet review (people don't like to lose lots of btc and can be sore losers)

a troll box

a betting bot with lots of options for how to bet

withdraw apovals as to stop people abusing the site but make sure now to take to long as people get mad when they can't have the btc fast

other things to make sure of with running any btc related business

be transparent if somethings wrong say it don't be quiet it makes it worse for the site

a house edge of no more that 2%

and what ever you do don't use not existent btc for the faucet

people will abuse  any flaw in your site they can for free btc so make sure to build it right the first time
legendary
Activity: 996
Merit: 1013
April 27, 2014, 02:20:56 PM
#12
A good starting point is to make a faucet. Search github for them.
Then you will have a basic idea how to use daemon RPC calls to move coins and what sort of database operations are needed.

Next thing is to learn what "provably fair" means and what ways are there to implement that.

You should also know a bit of HTML5 game programming, and be well versed on web security issues (very important here).
hero member
Activity: 750
Merit: 500
April 27, 2014, 12:31:28 PM
#11
It always amazes me that people who don't know how to develop web applications choose to start off with something that:

  • Involves other people's money
  • Is based on a pseudonymous cryptocurrency with transactions that are effectively impossible to reverse where scams and hacks are rampant
  • Think they can safely host that on someone else's hardware (VPS)

I mean, 10/10 for optimism and self-belief, but really… Set your sights a little lower or hire people who actually know what they are doing?
How am I using other peoples money? I didn't mention but I have an altcoin I want to use, I'm doing this to learn, I'm not an idiot, I fully understand I'd need to be a coder to pull it off properly, I don't expect to make a cent off it, if I did it would be a bonus.

Quote
with transactions that are effectively impossible to reverse where scams and hacks are rampant
This is the stuff I want to understand more, there need's to be code to prevent a double spend attack?!? I need to read more on this...

I think what he means is that you would be responsible for other peoples money (coins they have on your betting engine) and its your blood they would come looking for if your site got hacked.

Hosting anything that involves other peoples coins can get really stressful and you really need to know what your doing and how to quickly fix any problems that arise.
full member
Activity: 210
Merit: 101
★Bitvest.io★ Play Plinko or Invest!
April 27, 2014, 11:05:40 AM
#10
That doesn't even make sense, invite people with technology? Seriously Cheesy
newbie
Activity: 43
Merit: 0
April 27, 2014, 10:48:42 AM
#9
 I bet you don't know programming well?
Correct, I wouldn't consider myself a programmer but I can code a little, I can read php/java/mysql & understand exactly what's going on but building it from the ground up would be too hard for me. It's 10+ years since i worked in IT so I've nobody to help me with stuff so I'm asking here.

I figured I'd have to buy a script maybe but I've only .126 BTC so it looks like my options are limited  Sad

I have VPS & a webhosting account with plenty of space on both.

So, it is best to himself out of the money, invite people with technology to help you to complete
full member
Activity: 210
Merit: 101
★Bitvest.io★ Play Plinko or Invest!
April 27, 2014, 10:25:53 AM
#8
It always amazes me that people who don't know how to develop web applications choose to start off with something that:

  • Involves other people's money
  • Is based on a pseudonymous cryptocurrency with transactions that are effectively impossible to reverse where scams and hacks are rampant
  • Think they can safely host that on someone else's hardware (VPS)

I mean, 10/10 for optimism and self-belief, but really… Set your sights a little lower or hire people who actually know what they are doing?
How am I using other peoples money? I didn't mention but I have an altcoin I want to use, I'm doing this to learn, I'm not an idiot, I fully understand I'd need to be a coder to pull it off properly, I don't expect to make a cent off it, if I did it would be a bonus.

Quote
with transactions that are effectively impossible to reverse where scams and hacks are rampant
This is the stuff I want to understand more, there need's to be code to prevent a double spend attack?!? I need to read more on this...
full member
Activity: 154
Merit: 100
April 27, 2014, 10:14:36 AM
#7
It always amazes me that people who don't know how to develop web applications choose to start off with something that:

  • Involves other people's money
  • Is based on a pseudonymous cryptocurrency with transactions that are effectively impossible to reverse where scams and hacks are rampant
  • Think they can safely host that on someone else's hardware (VPS)

I mean, 10/10 for optimism and self-belief, but really… Set your sights a little lower or hire people who actually know what they are doing?
full member
Activity: 210
Merit: 101
★Bitvest.io★ Play Plinko or Invest!
April 27, 2014, 10:11:04 AM
#6
 I bet you don't know programming well?
Correct, I wouldn't consider myself a programmer but I can code a little, I can read php/java/mysql & understand exactly what's going on but building it from the ground up would be too hard for me. It's 10+ years since i worked in IT so I've nobody to help me with stuff so I'm asking here.

I figured I'd have to buy a script maybe but I've only .126 BTC so it looks like my options are limited  Sad

I have VPS & a webhosting account with plenty of space on both.
legendary
Activity: 938
Merit: 1000
April 27, 2014, 10:02:07 AM
#5
To make your own dice game program and  site you need really good programming skills or you can just buy already made script. But If you want to make It your self , you wont be able to do that any time soon as you asked this  I bet you don't know programming well?
legendary
Activity: 1862
Merit: 1011
Reverse engineer from time to time
April 27, 2014, 10:00:47 AM
#4
you really need to have good web programming skills.
making a website is one thing, making a site that can securely handle bitcoin wallets is another.


Don't forget choosing a secure web hosting service, some do get hacked and empty the wallets that way. But most importantly, hot/cold wallets are a must.
The hardest thing in the dice game is the chance/multiplier thing, that's the most difficult thing. Second to it is remembering not to use floating points.
legendary
Activity: 1904
Merit: 1037
Trusted Bitcoiner
April 27, 2014, 09:59:10 AM
#3
you really need to have good web programming skills.
making a website is one thing, making a site that can securely handle bitcoin wallets is another.

sr. member
Activity: 266
Merit: 250
April 27, 2014, 09:56:13 AM
#2
I'm interestsd as well. I think youneed a vps, domain and a dns, also some btc to start the faucet
full member
Activity: 210
Merit: 101
★Bitvest.io★ Play Plinko or Invest!
April 27, 2014, 09:50:47 AM
#1
Can anyone tell me how I'd go about hosting a dice game on a site, I'd preferably want to also use it with an alt currency.

Also, how do I setup a casino, is there open source btc casino's or anything?

I'm trying to learn here so all suggestions welcome. I realise what I'm asking is huge but I don't mind diving into a load of source code & trying to figure it all out.

I've .126 BTC to spend if I need to but obviously I don't want to spend it if I don't need to.

Jump to: