Project: canvas
Task (easy): Canvas dimensions should scale with window size: height matches window height, while width scales proportionally. Apply device pixel ratio (DPR) scaling for crisp rendering across devices. Handle DPR changes during resize events. Display 'Score: ' in 14px white text (textAlign='left') at (10,10) with a rectangular border. Store score value in 'window.store'. Note: Use only canvas rendering; Please enter the full HTML codeblock with filename in the language specifier.