/** * Test endpoint to trigger 404 DOOM game * Mount this in your test environment to verify functionality */ import express from 'express'; const router = express.Router(); /** * GET /test/doom * Test endpoint to verify DOOM 404 integration * @route GET /test/doom * @returns {html} DOOM game page */ router.get('/doom', (req, res) => { res.send(` DOOM 404 Test

🎮 DOOM 404 Integration Test

Test Methods

Click any of these links to test the DOOM 404 error page:

Direct Access:

📍 /error/404

Automatic 404 Triggering:

❌ /nonexistent-page-12345 ❌ /this-does-not-exist ❌ /random/fake/route

Expected Behavior

What You Should See

DOOM game preview

The DOOM game interface with red walls, HUD information, and interactive controls.

API Test (Should Return JSON)

Test that API routes still return JSON errors:

📡 /api/v3/nonexistent

Expected response: JSON with code: "ENDPOINT_NOT_FOUND"

🔧 Troubleshooting

If you see this page instead of DOOM:

Files Checked


🎮 DOOM 404 Status: READY | Version: 1.0.0 | Last Check:

`); }); export default router;