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.
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: [email protected].
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.