Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Are there any limitations? Just checking. #59

Closed
redtachyon2098 opened this issue May 23, 2021 · 6 comments
Closed

Are there any limitations? Just checking. #59

redtachyon2098 opened this issue May 23, 2021 · 6 comments

Comments

@redtachyon2098
Copy link

redtachyon2098 commented May 23, 2021

Hi, I am really excited about this. So to make sure I don't get disqualified and ruin the fun for myself, I want to ask a few questions that I couldn't find the answers to:
1) Are there any length limitations? For example, is there a limit on how many lines of code you can submit(Mine came out to be 290 0_0)?
2) Or any time limits(For example, your code can only run for up to 0.05 seconds)?
3) Should the submission only contain the strategy function? My code has more functions before it to make the coding easier(No external libraries, of course.) and it ran just fine, but I want to make sure.
4) Are there any more limitations that I couldn't think of?
Thank you in advance, and I wish you the best of luck.(I'm NOT going to win, unfortunately.)

@duckboycool
Copy link

  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 time limit per turn? #20
  3. Other functions are fine, just so long as it runs with the prisonersDilemma script.

@carykh
Copy link
Owner

carykh commented May 25, 2021

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!

@carykh carykh closed this as completed May 25, 2021
@nobody5050
Copy link

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?

@lunafoxfire
Copy link

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)

@nobody5050
Copy link

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

@redtachyon2098
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants