Just one week of constant iterations (I lost count). Just Claude Opus conversations, it built the whole thing.
So it was HTML5 from the very beginning, but started out very crude and rudimentary. Got the gameplay right first, then polished, polished, polished.