Coder Social home page Coder Social logo

hoene84 / jitsi-poker Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 181.69 MB

Video Conference Texas Hold’em based on Jitsi

Home Page: https://hoene84.github.io/jitsi-poker/

License: Apache License 2.0

JavaScript 82.11% Makefile 0.07% Java 5.44% Ruby 0.19% Starlark 0.01% Shell 0.67% HTML 0.38% CSS 4.01% Objective-C 2.80% Swift 1.07% Lua 3.26%

jitsi-poker's Introduction

Jitsi Poker

This is a standalone fork of https://github.com/jitsi with periodic downstream and upstream where it makes sense.

To see changes made for this project, see #4

Idea

This project allows you to play a game of Texas Hold'em with your friends in a video conference, just like you would at home.

Current State

The Game is not yet playable, there are still some key features missing.

If you like to fiddle around with the current state, visit: https://hoene84.github.io/jitsi-poker/

  • start a conference
  • join and start the game with the poker cards button in the toolbar

It's recommended to use different profiles to test. Otherwise the nick used to identify a user is shared over the local store of your browser. use chromium-browser --user-data-dir=/tmp/chrome/[id] &
to avoid this.

Architecture

This is a pure frontend project. It uses the backend of jitsi, currently alpha.jitsi.net. That's why i am able to deploy it on a regular github pages instance. Regarding to the architecture of jitsi, the scope corresponds to the docker image 'jitsi-meet-web'.

All State is hold on client and shared with all conference participants using the json-message feature of jitsi. There is no Server knowing anything about the poker feature, he just connects the clients.

Security

Unprotected

All visible actions are not protected form cheating. This means everyone can modify the game state as he like (if he has some development experiance). Just like at home, where is no protection that someone grabs the pot of another winner.

This is insecure by design and also allows "corrections" to be made to the given game sequence if the participants so wish.

Protected

Invisible cheating attempts, such as spying on the cards of others, are prevented. This has not yet been implemented, but is conceptually prepared.

Development

see the documentation of the forked project: https://github.com/jitsi/jitsi-meet

Deployment to Github Pages

to deploy your local code to a github pages instance:

  • set your github pages url in packages.json: "homepage": "http://[YourUsername].github.io/jitsi-poker",
  • run npm run deploy in the root directory

jitsi-poker's People

Contributors

saghul avatar damencho avatar hristoterezov avatar paweldomas avatar lyubomir avatar yanas avatar virtuacoplenny avatar bgrozev avatar zbettenbuk avatar gpolitis avatar idainatovych avatar ibauersachs avatar hoene84 avatar fippo avatar emcho avatar turint avatar ztl8702 avatar jallamsetty1 avatar jitsi-pootle avatar aaronkvanmeerten avatar m-voloshin avatar kkrisstoff avatar fouksf avatar danielob avatar tsareg avatar andrei-gavrilescu avatar bbaldino avatar samwhited avatar julian1203 avatar gerges-zz avatar

Watchers

 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.