It happened the same night, that Yahweh said to him, Arise, get you down into the camp; for I have delivered it into your hand.
The text does not state that God commanded Gideon exactly what to do, but he obviously did so.  It is simply inconceivable that any mortal commander could have devised such a strategy from merely human considerations.