Giter Site home page Giter Site logo

Comments (6)

duckboycool avatar duckboycool commented on June 20, 2024
  1. No specific limitation on length I'm pretty sure. (Unless it's large enough that you can't submit it to the google form, in which case I'd be terrified.)
  2. See #20
  3. Other functions are fine, just so long as it runs with the prisonersDilemma script.

from prisonersdilemmatournament.

carykh avatar carykh commented on June 20, 2024

No limitations to the length of the code file, as long as it's under 1 Mb, and is reasonably human-readable!

The time limit I've been telling people for runtime is "10 ms", meaning that the whole code (testing against the 9 example strats) should take no more than 10 ms.

It can contain helper functions, but it shouldn't load anything from other files. So, a second function called "multiply by 3" or something is allowed.

Best of luck, redtachyon!

from prisonersdilemmatournament.

nobody5050 avatar nobody5050 commented on June 20, 2024

No limitations to the length of the code file, as long as it's under 1 Mb, and is reasonably human-readable!

The time limit I've been telling people for runtime is "10 ms", meaning that the whole code (testing against the 9 example strats) should take no more than 10 ms.

It can contain helper functions, but it shouldn't load anything from other files. So, a second function called "multiply by 3" or something is allowed.

Best of luck, redtachyon!

Woah, under 1mb? Why this restriction?

from prisonersdilemmatournament.

lydianlights avatar lydianlights commented on June 20, 2024

No limitations to the length of the code file, as long as it's under 1 Mb, and is reasonably human-readable!
The time limit I've been telling people for runtime is "10 ms", meaning that the whole code (testing against the 9 example strats) should take no more than 10 ms.
It can contain helper functions, but it shouldn't load anything from other files. So, a second function called "multiply by 3" or something is allowed.
Best of luck, redtachyon!

Woah, under 1mb? Why this restriction?

How much code are you writing that you need more than 1 MB? xD That's like 20,000 lines of code (rough guess)

from prisonersdilemmatournament.

nobody5050 avatar nobody5050 commented on June 20, 2024

No limitations to the length of the code file, as long as it's under 1 Mb, and is reasonably human-readable!
The time limit I've been telling people for runtime is "10 ms", meaning that the whole code (testing against the 9 example strats) should take no more than 10 ms.
It can contain helper functions, but it shouldn't load anything from other files. So, a second function called "multiply by 3" or something is allowed.
Best of luck, redtachyon!

Woah, under 1mb? Why this restriction?

How much code are you writing that you need more than 1 MB? xD That's like 20,000 lines of code (rough guess)

Well including large arrays could maybe increase file size arbitrarily without increasing code density

from prisonersdilemmatournament.

redtachyon2098 avatar redtachyon2098 commented on June 20, 2024

Thanks for getting this straight! I hope this event ends up going smoothly.

from prisonersdilemmatournament.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.