DMOJ Introduces Innovative Way to Submit
Update: The server has been taken down. If you wish to run your own instance, the plugin is available here.
DMOJ has always been at the forefront of Online Judge technology. Its early introduction of good design ushered in a whole new generation of well designed Modern Online Judges.
Today, DMOJ: Modern Online Judge is hoping to continue that innovation with our newest product that will revolutionize the Online Judge industry forevermore.
DMOJ-over-Minecraft is an innovative new system that opens participation on the platform to a whole new subset of users: Minecraft players.
A New System
Our new system allows you to join contests and submit to problems inside Minecraft. To do this, we created a Minecraft server and a custom plugin to facilitate joining and submitting.
Using the book and quill item in Minecraft, you can write sophisticated code with a simple and easy to use interface.
Steps
Our new system is easy to use. Simply join our server at mc.dmoj.ca
(v1.15.2
client required) and follow the following steps:
- Obtain your API token from your profile.
- Use the
/auth [token]
command to authenticate your connection. You should see a message welcoming you if the authentication is successful.
- Use the
/book
command to obtain a book to write your code in.
- Use the
/submit [problem code] [language]
command to submit your code with a language of your choice.
Major Advantages
DMOJ-over-Minecraft is a huge improvement to our current system.
The HTTP protocol, of which DMOJ currently runs on was designed more than 30 years ago. In contrast, the Minecraft protocol was designed only a decade ago. Its design means that less data is required to be transferred compared to our current HTTP system.1
In addition to protocol modernization, due to the lack of a copy system in the Minecraft book interface, the issue of code copying has been solved. Copying books using the crafting method is also disabled.
This new system will also allow help expand the Online Judge market to demographics never before seen on any Online Judge.
With this new system, DMOJ is ushering in a whole new generation of Online Judges, driving more innovation in the space.
Try It!
If you want to try the new and innovative system out for yourself, join with a v1.15.2
client at
mc.dmoj.ca
Source Code
The source code has been released on GitHub with a MIT license.
Find it here.
1 Based on a direct comparison of how much data it takes to load dmoj.ca and its assets vs. how much it takes to join the server.
Comments
now you can TLE in minecraft
This sounds insane I sure hope it isn't april fools
Can't believe DMOJ released such an innovative way, I can see the bright future of DMOJ
Is online mode equal to true or false?
For legal reasons,
true
.Very creative
did i get banned or did the server shut down lol
Anarchy server please
Next step is letting us solve problems by using redstone :)
This comment is hidden due to too much negative feedback. Show it anyway.
innovative!
:blobhide:
dmoj being creative. i love it.
This is truly
groundblock breaking!Wait but does it actually work?
Edit: WTF they added an account api for april fools
This was actually merged in yesterday. I had to annoy so many people to get it done :(
This comment is hidden due to too much negative feedback. Show it anyway.
This comment is hidden due to too much negative feedback. Show it anyway.
A truly modern online judge
This is gonna change the face of competitive programming as a whole
imagine pvp tiebreakers
this should stay on dmoj