GithubHelp home page GithubHelp logo

Blockscape Engine and Reference Implementation

Welcome to Blockscape, a distributed application developer framework leveraging Blockchain technology. The project is still pre-alpha, and lacks a comprehensive reference implementation for widespread use. There is no public blockchain at this time. We provide a minimal checkers database application as a proof of concept.

This repository includes an in-development reference implementation--a video game--demonstrating much of the usecase for the platform.

This project is still in active development, but we are happy to accept quality code. Please open a merge request to do so.

Usage

Using Docker, build a simple checkers PoC DApp:

cd scripts
./build-docker

To run:

docker run -d --rm --net host --name blockscape dcr.buyme360.com/plu-capstone/blockscape -F -h <your network IP> --rpcbind 0.0.0.0 --seed-node <optional remote IP>:35653

Or for a more convienient command:

./start-blockscape-standalone.sh

Ensure UDP traffic on port 35653 is unfiltered between nodes.

To play checkers, first get your player ID, and optionally the opponents:

# get public key identifier for the play registered on the current node. You will need this later!
./run-blockscape-standalone register_my_player

Play a game against yourself:

# see the current state of a checkers game
./run-blockscape-standalone get_checkers_board 0 0
# start the game and play a move
./run-blockscape-standalone new_checkers_game 0 0 <id returned from register earlier>
./run-blockscape-standalone play_checkers 0 0 d6 move NW
# to do a 3-point jump
./run-blockscape-standalone play_checkers 0 0 d6 jump NW SW NW

With larger networks, other players can register themselves and you can start a game with them arbitrarily.

Blockscape's Projects

blockscape icon blockscape

A distributed application developer framework based on Blockchain technology

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.