Here is the project in TurboWarp Experiments: https://experiments.turbowarp.org/pointerlock/832399729/fullscreen?fps=60&interpolate&hqpen Use WASD to move. Click to break a block. Move the locked mouse pointer to look around and escape to change the settings. Press E to fly up, Q to fly down, and the space bar to jump.
My main promise was to add collisions and gravity - which went way better than I thought at first - but there are some more small changes I made. Be sure to give us credit if you remix this project or save it to your backpack/device storage.