Play Scopa online (scopa.cards) without leaving VS Code.
Usage
Click the Scopa Cards icon in the Activity Bar, or
click 🎮 Scopa in the status bar, or
run Scopa Cards: Open Game from the Command Palette.
The game opens in a webview next to your editor and keeps its state while the tab is in the background.
How it works
scopa.cards does not allow itself to be embedded in frames, so the extension starts a tiny local proxy bound to 127.0.0.1 that forwards requests (including WebSockets) to https://scopa.cards and removes the framing restrictions (X-Frame-Options / CSP frame-ancestors). The proxy only ever talks to scopa.cards. No data is collected by this extension.
Disclaimer
This is an unofficial extension and is not affiliated with scopa.cards.