|
|
|
|
|
by dvorak42
4182 days ago
|
|
We're not happy about the restriction either, and hopefully we'll run a Battlecode that doesn't have a programming language restriction, but we haven't found a way to deal with limited instruction count execution that we are happy with that is machine independent, and counting Java bytecode has worked for us so far. If there are other JVM languages people want supported, we'd be happy to take pull requests on Github once we make the new gameplay public tomorrow. |
|
- Is it measuring the count and making sure it doesn't exceed some threshold, or is the client API designed to actually give each client a specific number of instructions and terminate if that is exceeded?
- Does "machine independent" mean it needs to run outside of x86/amd64?
- Would it offend your sensibilities if CPU cycles used by C programs counted the same as those used by JVM programs?