I was listening to the weekly StackOverflow podcast, and they mentioned devs had a sort of a contest to see who can write the best Battleship ("you sank my battleship") AI... which lead me to think... hmmm.... a Battleship AI contest server -- where people can upload their AI DLL -- wouldn't be hard to write...
Although, I'm not sure if I could prevent people from writing
while (true);
and hang the server...
Or if their routine takes a real long time to execute...
Can you detect this by reflection? Or at least at runtime?
How would you attempt to?