Skip to content

AdChain/off-chain-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OFF-CHAIN

TicTacToe

... based on Nick Dodson's ethjs implementation

Getting started

This application utilizes Metamask to obtain wallet addresses, the LoopBack framework for API composition and can be easily orchestrated and deployed using LunchBadger.

Pre-requisites

Installation steps

  1. git clone git@github.com:AdChain/tictactoe-loopback.git
  2. npm install
  3. npm start
  4. sign into Metamask to make sure your Ethereum account address is exposed
  5. open two browser windows to http://localhost:3000
  6. check the option to play single player and begin game as player 1
  7. play with yourself 😛

Running on cloud (LunchBadger)

  1. sign into LunchBadger

  2. open another browser window or tab and go to https://app.lunchbadger.com

  3. click the Cog icon to access settings and note:

    • the git url
    • the app url

    as shown below: LB Settings

  4. cd to tictactoe-loopback git directory

  5. git remote add lunchbadger [_YOUR GIT URL_]

  6. git push lunchbadger master:master

  7. confirm notification dialogue appears on the LunchBadger canvas to reload

  8. verify Canvas has rendered the tic-tac-toe microservices

  9. click the Disk save icon on LunchBadger to sync all metadata in the Canvas

  10. run tictactoe remotely - using [YOUR APP URL]

About

off-chain game workshop repo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published