News for hackers. Stuff that matters.
Re:Protécol – Zero-Trust Peer-to-Peer Pokémon Battle Protocol by lcnPylGDnU4H9OF on Wednesday January 18, 2023 @12:57PM (#34430281)
You're welcome!

I was thinking about this last night before I went to bed (because of course I was) and I realized that the limit could potentially be higher considering moves such as Mirror Move, Copycat, Metronome, and Sketch. Still, each of these moves have their own deterministic[0] ways of working which could still be handled by this protocol.

But Sketch specifically is also counter to the point that "moveset can't be changed after the battle starts". With that move in particular, it technically could be.

[0] Even though it's "random" in the case of Metronome; the random just needs to be agreed upon beforehand.

Re:Protécol – Zero-Trust Peer-to-Peer Pokémon Battle Protocol by eddsalkield on Wednesday January 18, 2023 @01:23PM (#34430678)
You're right - as long as one player announces "I'm playing Mirror Move", then it can be verified that the move that actually gets played was valid. The actually played move doesn't have to be in the state committed at the beginning.

Randomness as in the case of Metronome can be decided upon in the same way that other move randomness is handled.

Re:Protécol – Zero-Trust Peer-to-Peer Pokémon Battle Protocol by lcnPylGDnU4H9OF on Wednesday January 18, 2023 @02:50PM (#34432034)
Another complication which you might enjoy thinking about is the move Assist[0]. It will randomly use a move that is known by something else in the party which would be more difficult to prove no shenanigans without revealing any information. It isn't valid to be selected post gen 7 but, e.g., Showdown still has gen 7 (and prior) ladders.

[0] https://www.serebii.net/attackdex-sm/assist.shtml