Bitcoin Forum
May 04, 2024, 01:43:03 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 3 »  All
  Print  
Author Topic: Dice Game/Faucet Open Sourced On GITHUB  (Read 7727 times)
gamblebuilder (OP)
Member
**
Offline Offline

Activity: 108
Merit: 10


View Profile
March 13, 2015, 02:30:28 AM
Last edit: March 23, 2015, 06:16:55 AM by gamblebuilder
 #1

I am developing an open source dice game/faucet and host it on github.  

https://github.com/popmanhe/node_dice

I 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.  Grin

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.

Every time a block is mined, a certain amount of BTC (called the subsidy) is created out of thin air and given to the miner. The subsidy halves every four years and will reach 0 in about 130 years.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714786983
Hero Member
*
Offline Offline

Posts: 1714786983

View Profile Personal Message (Offline)

Ignore
1714786983
Reply with quote  #2

1714786983
Report to moderator
1714786983
Hero Member
*
Offline Offline

Posts: 1714786983

View Profile Personal Message (Offline)

Ignore
1714786983
Reply with quote  #2

1714786983
Report to moderator
anshar
Sr. Member
****
Offline Offline

Activity: 350
Merit: 250


View Profile
March 13, 2015, 03:22:49 AM
 #2

The demo site doesn't even work...
gamblebuilder (OP)
Member
**
Offline Offline

Activity: 108
Merit: 10


View Profile
March 13, 2015, 05:41:32 AM
 #3

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
Hero Member
*****
Offline Offline

Activity: 826
Merit: 1000


View Profile
March 13, 2015, 05:44:05 AM
 #4

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 Offline

Activity: 108
Merit: 10


View Profile
March 13, 2015, 06:19:17 AM
 #5

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-node
2. 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
Hero Member
*****
Offline Offline

Activity: 658
Merit: 500


View Profile
March 13, 2015, 06:26:52 AM
 #6

Opensource dice site is what the community needs. Coders can join forces and develope a fair and secure dice site. Way to go OP.

.CryptoTotal.com.
                              l█████████▇▀
                              ████████▇▀
                              ███████▇▀
                              ██████▇▀
                              █████▇▀
                              ████▇▀
                              ███▇▀
                              ██▇▀
                              █▇▀
                              ▇▀
▇▇
▇▇

Express.Crypto.Checkout
Accepts Multiple Cryptos
Worldwide Shipping
yogg
Legendary
*
Offline Offline

Activity: 2464
Merit: 3158



View Profile WWW
March 13, 2015, 06:31:22 AM
 #7

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 Offline

Activity: 87
Merit: 10


View Profile
March 13, 2015, 06:37:46 AM
 #8

Can someone please check for backdoors?
I really want to use this script for making a dice site

deeprocks
Member
**
Offline Offline

Activity: 87
Merit: 10


View Profile
March 13, 2015, 06:39:18 AM
 #9

Can you add an invest feature in the script? By this gamblers would be able to invest in the bankroll

yogg
Legendary
*
Offline Offline

Activity: 2464
Merit: 3158



View Profile WWW
March 13, 2015, 06:40:14 AM
 #10

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 Offline

Activity: 108
Merit: 10


View Profile
March 13, 2015, 06:46:15 AM
 #11

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 Smiley

TriggerX
Hero Member
*****
Offline Offline

Activity: 826
Merit: 1000


View Profile
March 13, 2015, 07:32:24 AM
 #12

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-node
2. 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 Offline

Activity: 168
Merit: 100


http://pachinko.games-bit.com/


View Profile
March 13, 2015, 07:42:21 AM
 #13

Good work bro. I will contact you in future for some coding work. Smiley Smiley

elm
Legendary
*
Offline Offline

Activity: 1050
Merit: 1000


View Profile
March 13, 2015, 07:38:55 PM
 #14

following with interest
franckuestein
Legendary
*
Offline Offline

Activity: 1960
Merit: 1130


Truth will out!


View Profile WWW
March 13, 2015, 08:01:47 PM
 #15

The demo site it's working "fine" for me…  Cheesy

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.  Wink

[ AVAILABLE SIGNATURE SPACE ]
RocketSingh
Legendary
*
Offline Offline

Activity: 1662
Merit: 1050


View Profile
March 13, 2015, 08:23:29 PM
 #16

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 Offline

Activity: 108
Merit: 10


View Profile
March 14, 2015, 03:57:41 AM
Last edit: March 14, 2015, 08:48:36 AM by gamblebuilder
 #17

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
Sr. Member
****
Offline Offline

Activity: 350
Merit: 250


View Profile
March 14, 2015, 04:03:09 AM
 #18

Why not open a site with the stuff you got? It looks great by the way!
gamblebuilder (OP)
Member
**
Offline Offline

Activity: 108
Merit: 10


View Profile
March 14, 2015, 08:49:48 AM
 #19

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.  Grin

dukeneptun
Legendary
*
Offline Offline

Activity: 1064
Merit: 1000


View Profile
March 14, 2015, 12:35:57 PM
 #20

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 .  Tongue
Pages: [1] 2 3 »  All
  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!