Pokemon showdown could add a 1-3 second delay every time you click a move (changeable in settings) to prevent a misclick. Basically you click a move and depending what you changed in the settings a 1-3 second delay would happen where you could cancel the move even if the opponent clicked a move.