diff --git a/README.md b/README.md deleted file mode 100644 index 2fb2299d..00000000 --- a/README.md +++ /dev/null @@ -1,36 +0,0 @@ -# untitled-dice - -##### Live demo: https://untitled-dice.github.io - -More info (including changelog and FAQ) in the bitcointalk.org thread: https://bitcointalk.org/index.php?topic=1062680 - -Untitled Dice is a bare-bones bitcoin dice casino built on top of the [Moneypot.com gambling API](https://www.moneypot.com/api-docs.html) that lets anyone run their own dice site by forking this project. - -Since Moneypot handles the user accounts, betting, faucet, and chat, Untitled Dice does not need a server of its own. It's fully client-side (just some javascript files), so it can be hosted anywhere including Github. - -Moneypot even handles the bankroll. Profits are split between you, Moneypot, and Moneypot's investors. See: . - -![Screenshot](http://i.imgur.com/dTwOR01.png) - -## Run your own dice site - -If you want to run your own dice casino, all you need to do is clone/fork this project, create an app at Moneypot (https://www.moneypot.com/apps/new), and set the `config.app_id` at the top of the `app.js` file. - -## Host it on Github - -1. Fork this project -2. Rename the repository from `untitled-dice.github.io` to `{YOUR_USERNAME}.github.io` -3. Edit the config at the top of `app.js` -4. Visit `https://{YOUR_USERNAME}.github.io` - -## Run it locally (for development) - - cd untitled-dice - npm install - python -m SimpleHTTPServer 5000 - -Then visit - -## License - -MIT diff --git a/app.js b/app.js index de7d01e9..a4c07dc9 100644 --- a/app.js +++ b/app.js @@ -4,13 +4,13 @@ var config = { // - Your app's id on moneypot.com - app_id: 18, // <----------------------------- EDIT ME! + app_id: 1432, // <----------------------------- EDIT ME! // - Displayed in the navbar - app_name: 'Untitled Dice', + app_name: 'The Dice Ranger', // - For your faucet to work, you must register your site at Recaptcha // - https://www.google.com/recaptcha/intro/index.html recaptcha_sitekey: '6LfI_QUTAAAAACrjjuzmLw0Cjx9uABxb8uguLbph', // <----- EDIT ME! - redirect_uri: 'https://untitled-dice.github.io', + redirect_uri: 'https://thediceranger.github.io', mp_browser_uri: 'https://www.moneypot.com', mp_api_uri: 'https://api.moneypot.com', chat_uri: '//socket.moneypot.com', diff --git a/index.html b/index.html index a7ea468d..9c30bb39 100644 --- a/index.html +++ b/index.html @@ -1,6 +1,6 @@ - Untitled Dice + The Dice Ranger