r/teenagersprogramming • u/sciguymjm 17 • Mar 27 '15
Our subreddit's project's repository: Multiplayer Paint - details and discussion in the comments
https://github.com/Sciguymjm/MultiplayerPaint
4
Upvotes
3
u/sciguymjm 17 Mar 27 '15
So what we're planning is this:
Language Options:
PC (Windows/Mac/Linux):
Android:
iOS:
Features:
Requirements:
Terms:
Let me know anything I should add or change down below!
2
u/[deleted] Mar 27 '15
Thanks for taking the initiative. One question though, why MIT over GPL?
1
u/Meshiest 19 Mar 28 '15
Where will the servers be hosted?
Do we use heroku as a server list and devices as servers?
Libraries for networking?
Json data packets?
1
u/[deleted] Mar 29 '15
I think we had ought to designate time to discuss this, either on the teamspeak or irc. While threads work, it isn't quite as instantaneous as the others.
1
u/[deleted] Mar 30 '15
Hello i woukd like join this project i can help out with java and c sharp
1
u/[deleted] Mar 30 '15
Just thought I would make a comment about our packet size.
First of all, i think its necessary that lag is removed as much as we can, so we will assume a frame rate of 4 fps for the program. I am going to assume that people can draw roughly a hypotenuse between 1280x720 per frame (think toddlers on meth). We are also going to assume each change to a cell is 5 bytes (a short representing x and y, and a byte representing a colour on a 256 colour palette). We will also assume headers negligible.
While this is a massive amount of bandwidth, the major problem arises when we send this from the server to all the clients, which has a combined maximum upload of around 7.2 megabytes per second (57.4 megabits).
Unless somebody has any bright ideas (I thought about limiting each package to 1 colour, but this only reduces it a 1/5 - 1 byte, lag compensation seems silly and inaccurate for what we are doing), i think we are going to need to get a very quick compression algorithm programmed as well.
1
u/[deleted] Mar 30 '15
[removed] — view removed comment