Sure, here's a sample implementation of a top-down 2D endless zombie shooter game with wall building functionality, joystick controls, shooting, and wall building buttons. The game will be playable on a smartphone:
This is a basic implementation, and you can modify and enhance it further as per your requirements and preferences.