3 ms·
>Use of multiple processes or threads is prohibited. How about mimicking them? Can one perform in-process "context switches" to do the same thing? If no: whe
by Groxx 16y ago
>Use of multiple processes or threads is prohibited.
How about mimicking them? Can one perform in-process "context switches" to do the same thing?
If no: where do you draw the line? Must each second's decisions be deterministic from the board state?
If yes: what's the difference? Ease of programming seems a poor metric, and you could just nab something that's already written that does this for you, resulting in nothing but increased compilation times.
- a1k0n 16y agoThe reason for this restriction is because your process and your opponent's run simultaneously on the same machine, so you only get one CPU. Doing your own userspace threading or whatever is fine.
- deleted 16y ago[deleted]