Update rules to address nameof() exploit
This commit is contained in:
parent
1eaa5e96f2
commit
13a7c18e9a
1 changed files with 2 additions and 0 deletions
|
@ -36,6 +36,8 @@ You can submit your entry [here](https://forms.gle/6jjj8jxNQ5Ln53ie6).
|
|||
* System.Collections.Generic
|
||||
* As implied by the allowed namespaces, you may not read data from a file or access the internet, nor may you create any new threads or tasks to run code in parallel/in the background.
|
||||
* You may not use the unsafe keyword.
|
||||
* You may not store data inside the name of a variable/function/class etc (to be extracted with nameof(), GetType().ToString(), and so on).
|
||||
* Very clever idea though, thank you to [#12](https://github.com/SebLague/Chess-Challenge/issues/12).
|
||||
* All of your code/data must be contained within the _MyBot.cs_ file.
|
||||
* Note: you may create additional scripts for testing/training your bot, but only the _MyBot.cs_ file will be submitted, so it must be able to run without them.
|
||||
* You may not rename the _MyBot_ struct or _Think_ function contained in the _MyBot.cs_ file.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue