As an AI text-based model, I cannot directly generate or provide a playable game, particularly a 3D game, within this text-based format. However, I can help you with a sample game code that you can use as a starting point to build your own 2D zombie survival game in JavaScript. Note that for a 3D game, a more complex framework or library like Three.js would be required. Below is a sample code for a basic 2D zombie survival game using JavaScript:
This code sets up a simple canvas game where you control a blue player square using the arrow keys while being pursued by a green zombie square. If the player collides with the zombie, a "Game Over!" message is displayed.
Please copy and save this code into an HTML file, open it in a web browser, and you should be able to play the game. From here, you can further enhance the game by adding more features, graphics, and levels as per your requirements.