gamblebuilder (OP)
Member
Offline
Activity: 108
Merit: 10
|
|
March 13, 2015, 02:30:28 AM Last edit: March 23, 2015, 06:16:55 AM by gamblebuilder |
|
I am developing an open source dice game/faucet and host it on github. https://github.com/popmanhe/node_diceI just start it and so it only has some basic functionality. I will work on that from time to time and add more features. If you have any ideas to add to it, let me know or just fork it. ********* Tech spec ********** Demo site: http://ccroll.com/ Y ou can support this project by clicking ads. Or deposit small amount BTC to the address when you play. The site is built on - Backend: node.js + socket.io + mongodb + handlebars.js(template)
- Frontend: bootstrap + jquery + knockout.js
Session uses mongodb as session store, so the site can be expanded to multiple servers. Before you run this site, please set up connection to mongodb in config/developement.js or production.js. - 2015-02-24: First commit; Basic features added.
- 2015-03-11: Add chat functionality. Chat messages can be saved to database and kept for a week(using mongodb TTL index).
- 2015-03-18: Get bitcoin address from Blockchain.info and can be saved to user account.
- 2015-03-21: Will update balance for deposit every 30 seconds once BTC address is generated;
User name has to be unique(unique index in place); - 2015-03-22: Bitcoin faucet implemented. Use google reCaptcha to verify user is not rebot.
Amount of faucet and interval can be adjusted in config file.
If you have any questions, contact me at: popman.he@gmail.com. I am also open for coding jobs. I have 15+ years of design/coding experience. My tech stacks include asp.net, c#, vb.net, node.js, html, javascript, sql server, oracle, mongodb, redis.
|
|
|
|
|
|
|
|
Be very wary of relying on JavaScript for security on crypto sites. The site can change the JavaScript at any time unless you take unusual precautions, and browsers are not generally known for their airtight security.
|
|
|
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
|
|
|
anshar
|
|
March 13, 2015, 03:22:49 AM |
|
The demo site doesn't even work...
|
|
|
|
gamblebuilder (OP)
Member
Offline
Activity: 108
Merit: 10
|
|
March 13, 2015, 05:41:32 AM |
|
The demo site is hosted on a free server. So the server may be slow or unstable sometime.
You can download the code and run it on your local machine.
|
|
|
|
TriggerX
|
|
March 13, 2015, 05:44:05 AM |
|
I own a faucet and want to try implementing this on my website. Since I'm not that tech savvy can you walk me through a step by step process?
|
Hi!
|
|
|
gamblebuilder (OP)
Member
Offline
Activity: 108
Merit: 10
|
|
March 13, 2015, 06:19:17 AM |
|
I own a faucet and want to try implementing this on my website. Since I'm not that tech savvy can you walk me through a step by step process?
The project is far from completed. It's only a demo. Probably you can just play with it on the demo site first. It's not hard for tech people to install it and run it, maybe within 5 minutes. But for non-tech people, there are many steps to go and you may make mistakes on any one of them. Please ask a tech people to help you install it. Here is the brief steps: 1. install node.js from nodejs.org. see https://docs.npmjs.com/getting-started/installing-node2. install mongodb from https://www.mongodb.org/downloads;3. download code from github 4. type "npm i" under the folder to install necessory modules. 5. modify config file in config folder to connect to mongodb. 5. type "node app" to run it. 6. open browser: http://localhost:3000 to see the site.
|
|
|
|
zetaray
|
|
March 13, 2015, 06:26:52 AM |
|
Opensource dice site is what the community needs. Coders can join forces and develope a fair and secure dice site. Way to go OP.
|
|
|
|
yogg
Legendary
Offline
Activity: 2464
Merit: 3158
|
|
March 13, 2015, 06:31:22 AM |
|
Opensource dice site is what the community needs. Coders can join forces and develope a fair and secure dice site. Way to go OP.
I agree. Your project is really interesting. I'll be following that closely. I can help with the beta testing. Afterwards, I may host it at altdice.net in a production environment.
|
|
|
|
deeprocks
Member
Offline
Activity: 87
Merit: 10
|
|
March 13, 2015, 06:37:46 AM |
|
Can someone please check for backdoors? I really want to use this script for making a dice site
|
|
|
|
deeprocks
Member
Offline
Activity: 87
Merit: 10
|
|
March 13, 2015, 06:39:18 AM |
|
Can you add an invest feature in the script? By this gamblers would be able to invest in the bankroll
|
|
|
|
yogg
Legendary
Offline
Activity: 2464
Merit: 3158
|
|
March 13, 2015, 06:40:14 AM |
|
Can someone please check for backdoors? I really want to use this script for making a dice site
I think you better wait for a more complete version. The demo is barely working. If you can't check for backdoors yourself, I'm pretty sure you'll have troubles running that script.
|
|
|
|
gamblebuilder (OP)
Member
Offline
Activity: 108
Merit: 10
|
|
March 13, 2015, 06:46:15 AM |
|
Can someone please check for backdoors? I really want to use this script for making a dice site
I think you better wait for a more complete version. The demo is barely working. If you can't check for backdoors yourself, I'm pretty sure you'll have troubles running that script. The dice/auto roll and chat are working. But there are still many work to do. So anyone is welcome to join me. Fork the project
|
|
|
|
TriggerX
|
|
March 13, 2015, 07:32:24 AM |
|
I own a faucet and want to try implementing this on my website. Since I'm not that tech savvy can you walk me through a step by step process?
The project is far from completed. It's only a demo. Probably you can just play with it on the demo site first. It's not hard for tech people to install it and run it, maybe within 5 minutes. But for non-tech people, there are many steps to go and you may make mistakes on any one of them. Please ask a tech people to help you install it. Here is the brief steps: 1. install node.js from nodejs.org. see https://docs.npmjs.com/getting-started/installing-node2. install mongodb from https://www.mongodb.org/downloads;3. download code from github 4. type "npm i" under the folder to install necessory modules. 5. modify config file in config folder to connect to mongodb. 5. type "node app" to run it. 6. open browser: http://localhost:3000 to see the site. I understood the process but am already confused by reading parts 3 and above. I will wait until other users have installed it and ask for their opinion. If they have a good feedback I will try to install it. Thanks!
|
Hi!
|
|
|
sbankerdemon
Full Member
Offline
Activity: 168
Merit: 100
http://pachinko.games-bit.com/
|
|
March 13, 2015, 07:42:21 AM |
|
Good work bro. I will contact you in future for some coding work.
|
|
|
|
elm
Legendary
Offline
Activity: 1050
Merit: 1000
|
|
March 13, 2015, 07:38:55 PM |
|
following with interest
|
|
|
|
franckuestein
Legendary
Offline
Activity: 1960
Merit: 1130
Truth will out!
|
|
March 13, 2015, 08:01:47 PM |
|
The demo site it's working "fine" for me… It's interesting to know that there are open-source dice games on github. Personally, I think that's very difficult to earn on this kind of sites, but I appreciate the idea of making it open-source.
|
[ AVAILABLE SIGNATURE SPACE ]
|
|
|
RocketSingh
Legendary
Offline
Activity: 1662
Merit: 1050
|
|
March 13, 2015, 08:23:29 PM |
|
The demo site is hosted on a free server. So the server may be slow or unstable sometime.
You can download the code and run it on your local machine.
May I know which free server is supporting node.js + socket.io + mongodb + handlebars.js ? As u r saying that it is a free server, I assume it is on a shared hosting platform... am I wrong ?
|
|
|
|
gamblebuilder (OP)
Member
Offline
Activity: 108
Merit: 10
|
|
March 14, 2015, 03:57:41 AM Last edit: March 14, 2015, 08:48:36 AM by gamblebuilder |
|
The demo site is hosted on a free server. So the server may be slow or unstable sometime.
You can download the code and run it on your local machine.
May I know which free server is supporting node.js + socket.io + mongodb + handlebars.js ? As u r saying that it is a free server, I assume it is on a shared hosting platform... am I wrong ? It's an amazon's free tier server. You can install anything on it.
|
|
|
|
anshar
|
|
March 14, 2015, 04:03:09 AM |
|
Why not open a site with the stuff you got? It looks great by the way!
|
|
|
|
gamblebuilder (OP)
Member
Offline
Activity: 108
Merit: 10
|
|
March 14, 2015, 08:49:48 AM |
|
Why not open a site with the stuff you got? It looks great by the way!
Running a site like it requires a lot of energy. I am just a tech guy. If anyone wants to run it, feel free to use the script.
|
|
|
|
dukeneptun
Legendary
Offline
Activity: 1064
Merit: 1000
|
|
March 14, 2015, 12:35:57 PM |
|
I will try this. How long time did you invest in development? I want to make my own game,but if will take alot of time .
|
|
|
|
|