qpwoeirut's blog

By qpwoeirut, history, 3 months ago, In English

Does anyone know of a platform similar to Codeforces that can be used to create and run head-to-head games? It doesn't necessarily have to be a public website already on the internet; I'm willing to host it myself if necessary.

I'm imagining a platform that would have a system similar to Polygon where you can write an arbiter program that handles a head-to-head matchup between two contestants' programs. For example, let's say I'm running a rock-paper-scissors tournament. I'd write an arbiter program that reads in the two players' moves and returns the result of the game. Then contestants can submit their code in any supported language and the new submission will be run against all other participants' code.

Such a system probably isn't scalable if running every participant's program against every other participant's program is the goal, but that's fine. The use case I'm thinking of will almost certainly be around 25 people at most.

I've seen some systems somewhat similar to what I'm thinking of. MIT Battlecode comes to mind, but that's a highly specialized framework that only runs Java and has to deal with the game-specific bytecode requirements. I remember CMU's CMIMC's AI round had some head-to-head games, but I don't know if their infrastructure is available anywhere or how generalized it is.

Does anyone know of any open-source or otherwise public platforms/frameworks that can run head-to-head games? If you have expertise in this area, how difficult do you think it would be to build this, using preexisting frameworks such as CMS?

  • Vote: I like it
  • +98
  • Vote: I do not like it

»
3 months ago, # |
  Vote: I like it +23 Vote: I do not like it
»
3 months ago, # |
Rev. 2   Vote: I like it -11 Vote: I do not like it

Hey,

I've created an open-source platform called algolisted.com, and I also had this rad idea to add a "head-to-head competition" feature, but I wasn't sure if folks would be into it. Now, though, I reckon people are pretty keen on it.

Since it's an open-source website, if anyone's interested in working on this together, just drop me a message! I think we can wrap it up within a week, at the most. Feel free to reach out if you're interested!

  • »
    »
    3 months ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    Your site looks great!

  • »
    »
    3 months ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    Great work there, your site seems much more stable and smooth to use.

    Hope to solve and use your site for little longer.

  • »
    »
    3 months ago, # ^ |
      Vote: I like it +65 Vote: I do not like it

    This looks like a cool website, but I'm looking for a platform where you can host head-to-head competitions, not just link to other websites. Does your website already have infrastructure to securely run program submissions? If not, it might be best to start a separate project for it. You'd have to incur all the hosting costs for a server that has bursts of computationally intensive work, which is usually much more expensive than running a regular website.

    A bit of feedback:

    The GitHub icon at the bottom of the landing page doesn't seem to point anywhere.

    The coding-competitions page is giving me a CORS error.
»
3 months ago, # |
  Vote: I like it -31 Vote: I do not like it

Codesniper. Simple to the point resources with problems in increasing order of difficulty.

  • »
    »
    3 months ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    It's great... Appreciate it :)

  • »
    »
    3 months ago, # ^ |
      Vote: I like it +68 Vote: I do not like it

    How is this related to the question in my blog?

    It looks like you put effort into this website and I respect that, but if you'd like to self-advertise, please make it relevant to whatever blog you're commenting on or just make your own. Otherwise it looks like you're just spamming.

    • »
      »
      »
      3 months ago, # ^ |
        Vote: I like it -8 Vote: I do not like it

      I am sorry but i never thought that advertising good things is bad. sorry!

»
2 months ago, # |
  Vote: I like it 0 Vote: I do not like it

Hi, you can try PK mode (好友对战)in AC Saber to compete another player in realtime for coding

link (in Chinese): https://www.acwing.com/file_system/file/content/whole/index/content/whole/application/1/