GithubHelp home page GithubHelp logo

johnson86tw / token-heist Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 2.0 22.75 MB

A real-time 2 player on-chain board game.

Home Page: https://token-heist.vercel.app

License: GNU General Public License v3.0

Vue 18.91% TypeScript 58.29% Circom 5.47% Solidity 14.48% Shell 2.39% SCSS 0.28% JavaScript 0.06% Dockerfile 0.11%

token-heist's Introduction

Token Heist

Demo

demo-thief demo-police

demo-video.mp4

Game Rules

  • Two players compete on a 3x3 board, one as the police and the other as the thief. They take turns to move, with the thief starting first.
  • The police have five cops to deploy, whose positions are public and fixed. Their objective is to position them where they think the thief might be.
  • After the police deployment, they can learn if the thief is adjacent. Then it's the thief's turn to move.
  • The thief can move secretly or stay put but cannot move to a cell occupied by a cop. If the thief wins, they gain points equal to the sum of the number of cells in their path.
  • If a cop is placed on the cell occupied by the thief, the game ends, and the police win.
  • If all five cops are deployed without catching the thief, the game ends, and the thief wins.

Circuit Scheme

Circuit Scheme

Flow and Process

Flow

Process

Credits

Support ๐Ÿ™

  • 0x72B277a3FEe8DA1A9bfb1B3bbfA071f4a524EC63

token-heist's People

Contributors

johnson86tw avatar

Stargazers

Vu Vo avatar

Watchers

 avatar

Forkers

bukksie vuvoth

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.