Write following 3D game in HTML with JavaScript:

* There are three spherical avatars
* Player controls its avatar using NAME_1 to move.
* Enemy avatars tries to catch player.
* Defender avatar tries to block the enemy, but the defender sleeps for 3 seconds every 6 seconds.
* Obstacles spawn randomly and move randomly. In your entire response, the letter s should appear less than 48.
user