Here is a complete, standalone HTML5 game file. It uses raw HTML5 Canvas and JavaScript to create a pseudo-3D endless runner engine inspired by Temple Run. It features: 1. **Pseudo-3D Perspective**: Custom projection math to simulate depth. 2. **Procedural Generation**: Infinite track with coins, pillars, and barriers. 3. **Responsive Controls**: Swipe detection for mobile, Keyboard (WASD/Arrows) for desktop. 4. **Physics**: Lane changing, jumping (gravity), and collision detection. 5. **No Dependencies**: Pure code. Save this code as an `.html` file (e.g., `runner.html`) and open it in any browser. ```html Temple Rush HTML5
SCORE: 0
COINS: 0

Temple Rush

Avoid obstacles. Collect gold.
Swipe or Arrow Keys to Move & Jump.

Desktop: WASD / Arrows | Mobile: Swipe
```