Update rules to address nameof() exploit

This commit is contained in:
Sebastian Lague 2023-07-21 16:27:41 +02:00 committed by GitHub
parent 1eaa5e96f2
commit 13a7c18e9a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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.