WASD keys to move, click to place/destroy blocks. I think this fixes the collision issue, mainly by swapping out all the motion blocks involving x position and y position with playerX and playerY. If you need a good way to see the changes, try pulling up v0.4.1 in another tab, scrolling to the same place in the code, and pressing Ctrl+Tab (assuming it's a Windows computer...).