Code Monkey home page Code Monkey logo

pangea-poker's Introduction

Screenshot of Lightining CHIPS Poker

Pangea Poker

โš ๏ธ Keep in mind that the game is in alpha stage. There is a risk of loosing funds.

Play decentralized poker via the CHIPS blockchain.

We hope to release a publicly playable version in April. You can find the latest releases here.

Currently, to play, you will need to run your own back-end nodes. We are working on a Docker container to make this easy, which is expected to ship in April. Here you can find the old, complicated way of setting up the back-end nodes.

Development

  • Run npm install and npm start in the root folder This will fire up a web server and you can try the app via http://localhost:1234

  • Run npm run electron-dev to start the Electron app in development.

Run npm electron-pack to package the app with electron-builder for MacOS, Windows and Linux.

Pre-push GitHook

In order not to fail Gitub CI all the time, set up a local git hook to check lint and run tests before a push to the repo.

Pre push Github docs

nano ./.git/hooks/pre-push

set -e
node_modules/eslint/bin/eslint.js './src/' --ext .js,.ts,.tsx
npm run test

sudo chmod +x ./.git/hooks/pre-push

State Management

https://blog.logrocket.com/use-hooks-and-context-not-react-and-redux/

Good video explaining redux vs context state management approach https://www.youtube.com/watch?time_continue=134&v=eBYJ7O482Dc&feature=emb_title

Developer Mode

You can activate developer mode and skip the startup modal by adjusting the src/config/local.json.

Environment variables in scripts

REDUCER - adds extra logging from reducer to the console output.

Contributing

Please reach out to us via Discord and check out the open Issues.

Related links

pangea-poker's People

Contributors

dependabot[bot] avatar norbertdragan avatar piggydoughnut avatar renovate-bot avatar sg777 avatar

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.