Bitcoin Forum
April 25, 2024, 12:15:10 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 7726 times)
soowein
Newbie
*
Offline Offline

Activity: 42
Merit: 0


View Profile
March 25, 2015, 07:32:05 AM
 #41

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.

Please show me where i can download it !

Thanks !
1714004110
Hero Member
*
Offline Offline

Posts: 1714004110

View Profile Personal Message (Offline)

Ignore
1714004110
Reply with quote  #2

1714004110
Report to moderator
"This isn't the kind of software where we can leave so many unresolved bugs that we need a tracker for them." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714004110
Hero Member
*
Offline Offline

Posts: 1714004110

View Profile Personal Message (Offline)

Ignore
1714004110
Reply with quote  #2

1714004110
Report to moderator
alloffmyhate
Sr. Member
****
Offline Offline

Activity: 280
Merit: 250


It's Never End


View Profile
March 25, 2015, 08:28:30 AM
 #42

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.

Please show me where i can download it !

Thanks !

are u dont see github link ?

emrebey
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250


View Profile
March 25, 2015, 08:48:57 AM
 #43

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.

Please show me where i can download it !

Thanks !

here you go - in case of you are not aware the most used version control system in the planet-

https://github.com/popmanhe/Node_Dice/archive/master.zip
gamblebuilder (OP)
Member
**
Offline Offline

Activity: 108
Merit: 10


View Profile
March 25, 2015, 12:31:53 PM
 #44

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.

Please show me where i can download it !

Thanks !

There is a  “Download Zip" button on the page. Click that button to download zip file. Grin

gamblebuilder (OP)
Member
**
Offline Offline

Activity: 108
Merit: 10


View Profile
March 29, 2015, 01:34:27 PM
Last edit: April 08, 2015, 12:39:12 PM by gamblebuilder
 #45

demo site is moved to an ubuntu server with nginx as web server.

Give it a try. Don't forget to check "I am not a robot" to get some "free" bitcoin and play. Grin


Emerge
Legendary
*
Offline Offline

Activity: 854
Merit: 1000



View Profile
October 17, 2015, 01:13:45 AM
 #46

Grin Grin Grin Grin Grin

Amazing project mate. is the repo still updated?
gamblebuilder (OP)
Member
**
Offline Offline

Activity: 108
Merit: 10


View Profile
October 17, 2015, 01:31:09 AM
 #47

Grin Grin Grin Grin Grin

Amazing project mate. is the repo still updated?

It's a basic demo site. I can update it if there is a new idea coming in.


Emerge
Legendary
*
Offline Offline

Activity: 854
Merit: 1000



View Profile
October 17, 2015, 02:16:30 AM
 #48

Grin Grin Grin Grin Grin

Amazing project mate. is the repo still updated?

It's a basic demo site. I can update it if there is a new idea coming in.



Does it still use Blockchain.info API?
It should use Block.io (or something I forgot)
so it can use LTC, DOGE and BTC at the same time
gamblebuilder (OP)
Member
**
Offline Offline

Activity: 108
Merit: 10


View Profile
October 17, 2015, 02:19:28 AM
 #49

Grin Grin Grin Grin Grin

Amazing project mate. is the repo still updated?

It's a basic demo site. I can update it if there is a new idea coming in.



Does it still use Blockchain.info API?
It should use Block.io (or something I forgot)
so it can use LTC, DOGE and BTC at the same time

Yes. I will check out block.io as well. It's good to add new coins. Thanks.

lol3c
Hero Member
*****
Offline Offline

Activity: 518
Merit: 500



View Profile
October 18, 2015, 03:22:42 PM
 #50

Is this entirely made by you. It looks amazing, i might add it on my website. Thanks for sharing!
ADcoin.me
Hero Member
*****
Offline Offline

Activity: 795
Merit: 500


Name change soon (hopefully)


View Profile WWW
October 18, 2015, 03:53:32 PM
 #51

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

Well said! Keep up the good work, I will watch it closely. This needs a lot more work, but it is starting to look pretty damn good Smiley

Palcoin.co
gamblebuilder (OP)
Member
**
Offline Offline

Activity: 108
Merit: 10


View Profile
October 19, 2015, 07:29:49 AM
 #52

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

Well said! Keep up the good work, I will watch it closely. This needs a lot more work, but it is starting to look pretty damn good Smiley

Thanks. Grin

DoubleDROP.xyz
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile WWW
November 08, 2015, 09:20:25 PM
 #53

Hell, Having a problem with the install on a ubuntu 15 box.

Error is as follows:

Code:
:~/Node_Dice# npm install
npm WARN Invalid name: "Node Dice"
npm WARN EPACKAGEJSON /root/Node_Dice No description
npm WARN EPACKAGEJSON /root/Node_Dice No repository field.
npm WARN EPACKAGEJSON /root/Node_Dice No README data
npm WARN EPACKAGEJSON /root/Node_Dice No license field.

Invalid name:"Node_Dice" leads me to believe that the installer may have an error in it.

*FIXED: The package.json file on the 2nd line was missing a "_" on this code >   "name": "Node Dice".

Maybe change that? Or would you like me to push a commit to the git?
DoubleDROP.xyz
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile WWW
November 09, 2015, 01:54:25 AM
Last edit: November 09, 2015, 04:09:21 AM by DoubleDROP.xyz
 #54

Now seemingly running into a different error when trying the install.
The web server starts but the kerberos files fail to build it seems.
Error log below:

Code:
make: Entering directory '/root/dice/node_modules/kerberos/build'
  CXX(target) Release/obj.target/kerberos/lib/kerberos.o
In file included from ../lib/kerberos.cc:1:0:
../lib/kerberos.h:5:27: fatal error: gssapi/gssapi.h: No such file or directory
compilation terminated.
kerberos.target.mk:94: recipe for target 'Release/obj.target/kerberos/lib/kerberos.o' failed
make: *** [Release/obj.target/kerberos/lib/kerberos.o] Error 1
make: Leaving directory '/root/dice/node_modules/kerberos/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:270:23)
gyp ERR! stack     at emitTwo (events.js:87:13)
gyp ERR! stack     at ChildProcess.emit (events.js:172:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Linux 4.2.0-16-generic
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /root/dice/node_modules/kerberos
gyp ERR! node -v v5.0.0
gyp ERR! node-gyp -v v3.0.3
gyp ERR! not ok

> utf-8-validate@1.2.1 install /root/dice/node_modules/utf-8-validate
> node-gyp rebuild

Looking into getting this kerberos security application but having a hell of a time locating it.
Anyone ever set this up before and mind giving me a crash course?

*Got Kerberos running I beleive. Still trying to get the thing to link into my wallet.
gamblebuilder (OP)
Member
**
Offline Offline

Activity: 108
Merit: 10


View Profile
November 09, 2015, 04:44:11 AM
 #55

I am sorry. But I can't help you with setup. The problem may be related to so many issues.

If you have questions about code, I'd be happy to help.



Now seemingly running into a different error when trying the install.
The web server starts but the kerberos files fail to build it seems.
Error log below:

Code:
make: Entering directory '/root/dice/node_modules/kerberos/build'
  CXX(target) Release/obj.target/kerberos/lib/kerberos.o
In file included from ../lib/kerberos.cc:1:0:
../lib/kerberos.h:5:27: fatal error: gssapi/gssapi.h: No such file or directory
compilation terminated.
kerberos.target.mk:94: recipe for target 'Release/obj.target/kerberos/lib/kerberos.o' failed
make: *** [Release/obj.target/kerberos/lib/kerberos.o] Error 1
make: Leaving directory '/root/dice/node_modules/kerberos/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:270:23)
gyp ERR! stack     at emitTwo (events.js:87:13)
gyp ERR! stack     at ChildProcess.emit (events.js:172:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Linux 4.2.0-16-generic
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /root/dice/node_modules/kerberos
gyp ERR! node -v v5.0.0
gyp ERR! node-gyp -v v3.0.3
gyp ERR! not ok

> utf-8-validate@1.2.1 install /root/dice/node_modules/utf-8-validate
> node-gyp rebuild

Looking into getting this kerberos security application but having a hell of a time locating it.
Anyone ever set this up before and mind giving me a crash course?

*Got Kerberos running I beleive. Still trying to get the thing to link into my wallet.

DoubleDROP.xyz
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile WWW
November 09, 2015, 09:13:46 AM
 #56

I think I have gotten kerberos installed..

Managed to get it to show the balances on the accounts. But am unable to get withdraws to send..
Also having a hell of a time changing "BTC" on the site to "DROP"
gamblebuilder (OP)
Member
**
Offline Offline

Activity: 108
Merit: 10


View Profile
November 09, 2015, 02:22:28 PM
 #57

I think I have gotten kerberos installed..

Managed to get it to show the balances on the accounts. But am unable to get withdraws to send..
Also having a hell of a time changing "BTC" on the site to "DROP"

Withdraw part is not done yet. I am working on other project. I will add it later.

Change BTC to DROP? I think coin list is a partial, add or change it, it will change everywhere.  Or search 'BTC' and replace it.
But you still need to write some code to deposit/withdraw for that coin.

BoostTM
Copper Member
Jr. Member
*
Offline Offline

Activity: 70
Merit: 1


View Profile
February 06, 2018, 07:20:32 PM
 #58

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.
How do I install the game? on my host? I have no idea  Roll Eyes

Talk to me
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!