Repl.it Multiplayer

综合技术 2018-12-07 阅读原文

Today we're announcing the most-significant evolution of our platform — something we've been building towards for a long time that we're thrilled to share with you.

Introducing Multiplayer : code with friends in the same editor, execute programs in the same interpreter, interact with the same terminal, chat in the IDE, edit files and share the same system resources, and ship applications from the same interface! We've redesigned every part of our infrastructure to work in multiplayer mode -- from the filesystem to the interpreter.

This works with all thelanguages that works on Repl.it. All free and ready for you to use right now. All you have to do is login, create a repl, start a Multiplayer session, give a link to your friends, wait for them to join, and start hacking!

We started beta-testing Multiplayer last month. And while we think we're merely scratching the surface in terms of what can be done with it, a walkthrough of some of the emergent use-cases will give you an idea of how it works and how you can use it at your work, school, or for your side-project:

Help

Last week user@marc_rosenberg hopped on our Discord server and asked for help with his Advent of Code work. After a bit of back-and-forth with other users, they decided to hop on a Multiplayer session. Marc shared a link and off they went:

Four players joined and started helping him with his problem. Not only did they show him how to solve it, but they also leveraged comments and chat to teach him how it's done.

The fact that everyone shares the same compute infrastructure means they all see the same errors and the same output — this is crucial for collaboration and something that we've found to be lacking from existing IDE's that support "collaboration".

Interviews

As part of our interview process at Repl.it (work with us) we have a phone screen where we hop on a Multiplayer session with a candidate and work on some coding problems together. Other people in the company can tune-in as well to give their opinion or to provide feedback for the interviewer.

The fact that it's shared repl allows the interviewer to write test cases for the candidate's program to verify its validity. It also allows both of them to see the results and errors in the terminal.

Teaching

Repler@fractalbach wanted to teach his younger sister programming. Sadly, they were hundreds of miles apart which made it seem impossible (or at least suboptimal) to attempt is. That is until chris discovered Multiplayer. Now they hop on the phone and crank open a session and start coding together.

Schools are also starting to explore Multiplayer in an educational setting. Some teachers split their students into groups to work on projects. This helps students stay engaged and makes the activity fun. Other teachers use Multiplayer to cast their coding session out for their students to follow and watch.

Collaborations

Repl.it users organize a 48-hour code jam every other month. For the last one, they decided to work on buildingdatabases. But this time they decided to make it more interesting and form teams to work with each other. This made the competition a lot more engaging and fun. The results were also quite impressive.

With Repl.it you canbuild and host web apps, bots, or websites. Users@mat1 and@Boopydoop worked on and shipped a discord bot together. They called it4bit, and it makes it possible to play some rad games in discord such as Hangman, Simon Says, and even UNO!

Conclusion

Multiplayer opens up whole new levels of creativity in the community and makes it easier and more fun to teach and learn. Since we started opening up the beta thefeedback has been rolling in non-stop and we've been very happy with community reception.

Finally, Multiplayer is built on solid infrastructure. We spent a lot of time trying to make the underlying system resources work in multiplayer mode because we think this feature, in the future, might transcend our websites and work with other IDEs and on different platforms. We're excited to explore the opportunities this opens up.

We'll write some more soon about the underlying technology but, for now, go forth and multiplay!

Hacker News

责编内容by:Hacker News阅读原文】。感谢您的支持!

您可能感兴趣的

315题:“更省电”的电子表 原题链接: https://projecteuler.net/problem=315 这个题目比较长,下面简单描述一下。 有一个数字表,显示数字的方式可以看原题,其实是老式计算器那个样子,也像小时候做的奥数题,拿火柴棍...
CSE 392 – Programming Challenges(2012) CSE 392 - Programming Challenges Spring 2012 Course Time: 3:50-5:10PM Tuesday-Thursday Place: ESS 069 ...
Are there plans for reviewers of articles we post? Since last October, I've started to blog more, and have been slowly adding some articles on dev.to. Usually when I want ...
To code or not to code Is there always a good moment to code? Have you ever asked yourself this kind of question? Have you ever felt that maybe...
Elizabeth Keogh: A Little Tense Following on from my last blog post about deriving Gherkin from conversations, I wanted to share some tips on tenses. Th...