What do you mean by explode and implode?
Oxyhydrogen is basically hydrogen that needs to be burned. Oxygen is the stuff that "burns it". Generally speaking, "burning" means combining some substance with oxygen. If you burn methane you actually combine it with oxygen. The byproducts of burning are carbon dioxide and water:
CH4 + 2O2 -> CO2 + 2H2O.
If you burn octane you have
2C8H18 + 25O2 -> 16CO2 + 18H2O
And if you burn hydrogen you have:
2H2 + O2 -> 2H2O
Now, octane in the above example is a liquid. If you burn it, it will form CO2 and H2O vapours, they are both gases. That means that the the volume will try to increase. According to the stoichiometry of the reaction, if you pack 2 parts of octane and 25 parts of oxygen in a close container and ignite it (so as to catalyse the burning reaction) the container may explode. That is because the gases will try to occupy more volume and the volume occupied before from the octane is not big enough for the produced CO2 and H2O. They will want to escape and explode the container, unless the container is too tough.
Explosion is something like abrupt increase of volume. When a bomb explodes this is what is happening. The BAM! from a bomb explosion is when the molecules escape with speed faster than the speed of sound, something very similar to when supersonic airplanes cross the sky.
Now, if the container is too tough it will not explode. If you in addition use a piston fitted to the container to squeeze them even more, then the produced gases will turn into liquid (water and liquid CO2) just to try to feel comfortable with volume constrains.
But what is happening with oxyhydrogen burning? Say that we have oxyhydrogen in an enclosed container. Please bear in mind that different gases exert different pressure in a fixed volume. That is to say that an x amount of methane may feel very comfortable in a closed 2 litre coca cola bottle, but the same x amount of another gas, say CO2 may feel uncomfortably squeezed in the same 2litre coca cola bottle and will try to escape and force its way out!
So, explosions and implosions have to do with the properties of the gases. If oxyhydrogen gas feels more comfortable in less volume than water vapours, then by burning it into water it will try to expand, or explode. On the other hand, if water vapours can fit more comfortably than oxyhydrogen in the same volume, then burning oxyhydrogen will be an implosion.
But which is the case? I do not really know but I can imagine how one can tweak around the conditions (volume, temperature, pressure) or the ratio of hydrogen

xygen so as to make it explode or implode.