Giter VIP home page Giter VIP logo

pictoroom's Introduction

PictoRoom

A revival of the PictoChat DS program.

Usage

Users may easily set up their own servers by executing the srv.py program.

Users may also use the client.py program to connect to a server of their choosing. These servers will be instances of the srv.py mentioned above.

Once you run client.py, you'll be prompted for the ip address and port number of the server you'd like to use. The client will be automatically connected to the first server you connected to on, and to connect to a different server, you should delete the config.json file.

The primary communication method is through drawing black and white pictures. Users may draw pictures on the drawing panel, then click "send" to broadcast it to the entire network. These pictures are shown in a real time feed above the drawing space.

PictoChat Protocol

To facilitate the communication between users, we came up with the PictoChat protocol.

Data is allowed to be split into different packets. This means that a large image can be efficiently transfered from client to client. In order to accomodate this, we added a footer that would denote the end of a stream.

Thus, a message should be structured in the following way:

message:          | unknown | base64 encoded png
magic terminator: | 4 bytes | 0xdeadbeef

We have a dedicated AWS server for you to try! IP Address: 18.219.82.126 and Port: 8000.

pictoroom's People

Contributors

takeshibaconsuzuki avatar maxluoxiii avatar ramasrirama99 avatar byron123t avatar

Stargazers

Chikobara avatar  avatar  avatar

Watchers

James Cloos avatar  avatar  avatar  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.