This repo contains the smart contracts for the Etherboy Game.
For the Unity frontend see this game repo
cd $GOPATH/src/github.com/loomnetwork
# clone into gopath
git clone git@github.com:loomnetwork/etherboy-core.git
# switch to the loom repo
cd $GOPATH/src/github.com/loomnetwork/etherboy-core
# build the contract plugin, cmd plugin and indexer
make
# start the node
cd run
export LOOM_EXE="path/to/loom_executable'
$LOOM_EXE init
# modify genesis.json similar to below
./loom run 2>&1 | tee -a etherboy.log
export ETHERBOY_CLI="/path/to/etherboycli"
# create a key pair
LOOM_CMDPLUGINDIR=cmds/ $ETHERBOY_CLI genkey -k priv
# send a create account tx
LOOM_CMDPLUGINDIR=cmds/ $ETHERBOY_CLI create-acct -k priv -u loom
# send a set stage tx
LOOM_CMDPLUGINDIR=cmds/ $ETHERBOY_CLI set -v 1010 -k priv -u loom
make proto