Use W,A,S,D to move. Many bugs, not bothered to add depth sorting.
Thanks to @daves777 for most of the code