Use arrow keys to look around. Use WASD to move around. Press Q to mine. Press E to place blocks.
The game will save your data. In case it lags, play it on TurboWarp: https://turbowarp.org/663765878