Thin component layer
Your Angular component only renders the iframe, sets dimensions, and wires optional event outputs.

Angular game widget
Angular applications can embed a playable browser game without importing a game engine into the bundle. Render a GamesIKnow iframe in a component, bind the frame URL safely, and subscribe to postMessage events when the host app needs gameplay signals.
Component template
Message listener
Responsive iframe
Signed completion support
Short answer
In Angular, create a component with an iframe pointing to /embed/{gameSlug}/frame/, pass tenantId in the query string, and listen for window message events where data.source is gamesiknow.
The demo shows the iframe and parent-page events your Angular service or component can handle.
Angular developers adding a game embed
An iframe keeps game runtime outside your Angular bundle while still allowing typed event handling in services or components.
Your Angular component only renders the iframe, sets dimensions, and wires optional event outputs.
Board rules, assets, and realtime behavior stay inside the GamesIKnow frame route.
Use @HostListener or a dedicated message service without coupling to game internals.
Setup flow
Create a standalone or feature component, bind a stable frame URL, and clean up listeners when the component is destroyed.
Step 1
Add an iframe with width 100%, a stable height near 640px, allow="fullscreen", and the GamesIKnow frame URL.
Step 2
Compose /embed/{gameSlug}/frame/ with tenantId and optional campaignId from environment or runtime config.
Step 3
Handle window message events and filter on data.source === "gamesiknow" for GAME_STARTED and completion.
Step 4
If the Angular app unlocks content, verify signed results on your backend before trusting browser messages.
Implementation
Keep the iframe src stable across change detection cycles and unsubscribe from message handlers on destroy.
Do not recreate the iframe on every change detection pass. Bind src once unless tenant or game changes.
Remove message listeners when the component is destroyed to prevent duplicate handlers in dev mode.
Angular can display winner UI quickly, but credits and prizes should be decided server-side.
Available games
Tic Tac Toe
Embed for same-screen play on your site, or send players to GamesIKnow to challenge a friend remotely with a room link.
Embed setup
Four in a Row
Embed for local two-player drops on one screen, or link friends to play Four in a Row online from anywhere.
Embed setup
Bingo
Same-screen Bingo in your embed, or host a remote room so players can join from their own devices.
Embed setup
I Know
Quick trivia in your embed on one screen, or run a live room so friends can answer from anywhere.
Embed setup
FAQ
Use /embed/{gameSlug}/frame/ as the iframe src. That route is the lightweight game frame built for website embeds and postMessage events. The /embed/{gameSlug}/ route is the public preview and SEO page for people, not the route to place inside an iframe.
No. Visitors can play inside the browser iframe on phone, tablet, laptop, or desktop. A partner account is only needed by the website owner who installs the embed.
Yes. GamesIKnow embeds are designed around registered websites and domain-restricted tenant settings, so copied iframe code cannot be freely reused on unauthorized sites.
Tic Tac Toe, Four in a Row, Bingo, and I Know are available as embeddable browser games. The embed documentation uses the same event model across supported games.
No. GamesIKnow embeds are iframe-based, which keeps the integration lightweight in Angular, React, Next.js, Astro, and other stacks.
Create a partner account, register your domain, and generate a domain-restricted iframe for your website.