Hi, Habrahabr!
We in Hexlet love not only to learn and teach, but also to have fun. But entertain yourself in your own way, programmer-like. Therefore, we launched
Codebattle . This is a game for programmers.
The idea is very simple: the task is given to you and your opponent, you solve it in your chosen language. You can see the opponent's code in real time, test run results and can chat with him and the audience in the chat. Whoever solves the problem first (satisfies the tests) won.
')

Javascript, PHP, Python and Ruby are available now. You can create the game yourself and wait for the opponent (or send a link to someone specific), or you can join open games. In the running game, you can go as a viewer. To follow open games without visiting the site, you can install an
extension for Chrome .
If interested, we can separately tell about the backend. It uses Erlang, and tests are written in Clojure. Then they are transformed into tests in all target languages using our
multicode library.
The
tasks themselves
also lie in Github , you can do pull requests and add new tasks (at the same time practice with Clojure).
To battle!