DEV Community

Cover image for I Built a WordPress Plugin to Add Browser Games Without Code
Games I Know for Games I Know

Posted on • Originally published at gamesiknow.com

I Built a WordPress Plugin to Add Browser Games Without Code

Most WordPress websites are still mostly static.

You publish a blog post, landing page, classroom page, or community page.

Visitors read it.

Maybe they scroll.

Maybe they click a link.

Then they leave.

I wanted to test a simple idea:

What if website owners could add a small playable browser game inside a WordPress page without writing code?

That is why I built GamesIKnow Embed, a WordPress plugin that lets site owners add browser games from Games I Know directly into posts and pages.

Plugin:

Embed Browser Games by Games I Know

Main website:

Games I Know

The problem I wanted to solve

Adding interactive content to a website is usually harder than it should be.

If you want to add a small game to a WordPress site, common options are:

  • Build a custom game
  • Find some third-party iframe
  • Paste custom HTML
  • Use a page builder
  • Hire a developer
  • Install a heavy plugin that does too much

For many bloggers, teachers, small businesses, and community site owners, that is too much work.

They do not want a full game platform.

They just want something simple like:

  • A Tic Tac Toe game at the end of a blog post
  • Bingo on a classroom activity page
  • A quick strategy game for visitors
  • A small trivia-style game on a community page

So the goal was simple:

Let WordPress users add a playable browser game with a block or shortcode.

What GamesIKnow Embed does

GamesIKnow Embed lets WordPress users add lightweight browser games from Games I Know to their own site.

The current games include:

  • Tic Tac Toe
  • Four in a Row
  • Bingo
  • I Know
  • Sudoku

The visitor does not need to install anything.

The game runs directly in the browser.

The WordPress user can add it inside a post or page using the plugin flow instead of manually handling iframe code every time.

Why a WordPress plugin?

Technically, iframe embeds are already simple.

You can copy an iframe, paste it into a Custom HTML block, and it works.

But for non-technical WordPress users, even that can feel confusing.

They may not know:

  • Where to paste the iframe
  • Which URL to use
  • What height to set
  • Whether the embed is mobile-friendly
  • Why a page builder strips HTML
  • Why the game looks too small
  • How to reuse the same embed later

A plugin makes the workflow easier.

Instead of thinking in iframe code, the user can think in WordPress terms:

  • Install plugin
  • Configure settings
  • Add block or shortcode
  • Pick game
  • Preview
  • Publish

That is much closer to how WordPress users already work.

Basic user flow

The setup is designed to be beginner-friendly.

A WordPress user can:

  1. Open WordPress admin
  2. Go to Plugins > Add New
  3. Search for Embed Browser Games by Games I Know
  4. Install and activate the plugin
  5. Configure the GamesIKnow settings
  6. Open a post or page
  7. Add a game using the block or shortcode
  8. Preview on desktop and mobile
  9. Publish

After that, visitors can play the game directly inside the WordPress page.

Example use cases

This is not only for gaming websites.

The more interesting use cases are normal websites that want one small interactive section.

Blogs

A blog post can end with a quick game.

Example:

Finished reading? Take a quick break and play Tic Tac Toe.

That makes the page feel less static.

Schools and teachers

A teacher can create a classroom activity page with a simple game.

Bingo or trivia-style games can work well for this.

Community websites

Community pages often have announcements, event details, or static content.

A small game can make the page more fun for members.

Local businesses

Restaurants, waiting rooms, event pages, and local businesses can use a simple game to give visitors something to do.

Agencies

Agencies building WordPress sites for clients can add an interactive section without custom game development.

Plugin vs iframe vs custom development

There are three main ways to add browser games to a site.

Method Best for Difficulty Notes
WordPress plugin WordPress users Easy Best for posts and pages
iframe embed Users comfortable with HTML Medium More manual control
Custom development Developers Advanced Best for custom game experiences

For developers, iframe integration is still useful.

For normal WordPress users, the plugin is easier.

Why I kept the games lightweight

I did not want this to become a heavy gaming system.

The idea is not to overload a website.

The idea is to add one small interactive moment.

So the games are browser-based and quick to start.

That matters because many WordPress sites are content-first. The game should support the page, not take over the whole experience.

A good placement could be:

  • End of a blog post
  • Dedicated play page
  • Classroom page
  • Community page
  • Landing page section
  • Kids activity page
  • Wide content section

A bad placement would be a tiny sidebar where the game becomes hard to use.

Things I learned while building it

A few things became clear while working on this.

1. Non-technical users need fewer decisions

Developers are okay with configuration.

Most WordPress users are not.

Every extra field makes the plugin harder to understand.

The best flow is the one where the user can add a game quickly and only change settings when needed.

2. Mobile preview is important

A game can look fine on desktop but feel cramped on mobile.

So the embed experience has to be tested at smaller widths.

3. WordPress users like shortcodes

Blocks are nice, but shortcodes are still useful.

Many WordPress users are comfortable copying a shortcode into a post, widget area, or page builder.

So supporting both block and shortcode workflows makes sense.

4. The game should not feel random

If you add a game without context, it feels like an ad.

If you add a heading like:

Take a quick break - play Tic Tac Toe

it feels intentional.

The surrounding content matters.

What I would improve next

The plugin is still early, but I already have a few improvements in mind:

  • Better game previews inside WordPress
  • More customization options
  • More games
  • Easier onboarding
  • Better analytics for site owners
  • More examples for schools, blogs, and community websites

I also want to make the embed flow simpler for platforms outside WordPress.

Try it

The plugin is available on WordPress.org:

Embed Browser Games by Games I Know

You can also try the games directly here:

Games I Know

I wrote the full WordPress guide here:

How to Add Free Browser Games to Your WordPress Website

Final thought

Most websites do not need complex interactivity.

Sometimes one small playable section is enough.

That is what I am trying to build with GamesIKnow Embed:

A simple way for WordPress users to add browser games to their pages without touching code.

Top comments (0)