Skip to content

Cocos-BCX/cocos-dice-sample

Repository files navigation

中文

cocos-dice

A Fully-Functional Dice DApp Game for the Cocos-BCX Platform

Prerequisites

  • Node.js 8.9+
  • yarn

Wallet

Or, alternatively (for Chrome & non-Chrome), install CocosDesktop Wallet

CocosDesktop for Mac
CocosDesktop for Windows

Login

Open wallet to sign in or sign up

Build and Run

yarn install
yarn build
yarn serve

Open App in Browser

App should be available at: http://localhost:8080/

Notice: 
1. If you are using Google Chrome extension wallet, do open the link with Chrome;
2. Make sure you've installed wallet correctly and logged in

Output should be something like:

avatar