linchen-2048
v0.1.8
Published
> The sample starter project used in the "Workshop: Building a blockchain game with Forge SDK and Javascript on ABT Node", which is a session from ArcBlock DevCon 2020
Downloads
1
Readme
Crypto 2048
The sample starter project used in the "Workshop: Building a blockchain game with Forge SDK and Javascript on ABT Node", which is a session from ArcBlock DevCon 2020
For complete and working version of this game, please checkout release branch.
Requirements
- Install
@abtnode/cli
Getting Started
Checkout out workshop video for details.
Configuration
SKIP_PREFLIGHT_CHECK=true
MONGO_URI="mongodb://127.0.0.1:27017/crypto-2048"
APP_TOKEN_SECRET="c196792a8a14be2d3f10646079001a37e634ebbd99643c543f"
APP_TOKEN_TTL="1d"
APP_SK="0x4848947cc88b2e83682dec00e681d9ca057c582c0bc9fd42a1ce6c386361d2bda24f683f458bad332b2c913fd374493b08aca1993f2640cbfccd962951c220c0"
APP_PORT="3030"
REACT_APP_CHAIN_ID="local-chain"
REACT_APP_CHAIN_HOST="http://192.168.1.3:8105/api"
REACT_APP_ASSET_CHAIN_ID="foreign-chain"
REACT_APP_ASSET_CHAIN_HOST="http://192.168.1.3:8106/api"
REACT_APP_APP_NAME="Crypto 2048"
REACT_APP_APP_DESCRIPTION="A simple 2048 clone that demos how to integrate games with ArcBlock technologies"
REACT_APP_APP_ID="zNKaoF3y3MiDHkisK2Dt8FgGVY6dXP6XETQr"
REACT_APP_BASE_URL="http://192.168.1.3:3030"
REACT_APP_API_PREFIX=""