Giter Club home page Giter Club logo

peered's People

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

peered's Issues

P2P Game Discovery

Make it possible for users to find new games through peers instead of the server.

Browser Check

Do browser check before loading game - suggest better browser if possible and abort process if Browser not compatible with WebRTC.

Add Chat

Under a game, make it possible for players to chat with each other.

5 minute reconnect time

When a player disconnects or reloads the browser, make a 5minute reconnect time. Display this message in both in games section (my current games) and in the current game screen for the opponent.

Server side TicTacToe, or all client-side?

Right now we are rendering the TicTacToe game through data from the server. should we switch to purely client side through the local collection? I have certain problems with that (mostly about consistency).

Multi-window WebRTC

Currently peerjs is limited to one game per window, as a new window would request a new PeerID, which is against the current design of Peered. Therefore we need to come up with a solution so that people can play multiple games.

The only way I can imagine this work right now is if the PeerJS object is stored in localstore and continuously accessed when opening new browser windows. This obviously needs to be researches about its weaknesses. Anyone has some ideas?

Implement PKI for signed messages (i.e. play moves)?

One of the problems I can see happen is people connecting to peers and sending them invalid play moves. Of course we do a lot of sanity checks on play moves, but I think it would perhaps be smart to implement PKI for signed messages. This way the two players playing against each other know the exact origin of the play moves.

What do you guys think?

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.