molarmanful
Veteran
Well, it's been awhile since this happened. Since then, ES6 has obviously progressed much more, along with my code golfing skills.
170 bytes:
Really easy edits.
170 bytes:
Code:
h=[...` 1235674
9AB8
DEFC`];y=0;d=q=>{h[y]=h[f=h[w=y+[-5,1,5,-1][q&3]=]=>' '?w:y],h[y=f]=' ',a.innerHTML=h.join``};for(i=1e4;i--;onkeyup=e=>d(e.which))d(Math.random()*4)