Skip to content
Play Google Snake Game Logo
Wordpress Logo

Google Snake Game for your WordPress

Now integrate Google Snake Game on your website with just a short code.

Documentation & How to use it

Overview

The Google Snake Game plugin allows you to easily integrate a classic snake game into your WordPress website. Users can play the game directly on your posts or pages, providing an engaging and interactive experience.

Features

  • Embeddable snake game via a simple shortcode.
  • Customizable settings in the WordPress admin area.
  • Responsive design for play on various devices.
  • Optional score tracking and display.

Installation

  1. Download the Plugin: Download the zip file of the plugin from the provided source.
  2. Upload to WordPress:
    • Go to your WordPress dashboard.
    • Navigate to Plugins > Add New.
    • Click on Upload Plugin and choose the downloaded zip file.
    • Click Install Now.
  3. Activate the Plugin:
    • After installation, click on Activate Plugin.

Configuration

Shortcode Usage

  • Use this shortcode in your posts or pages to display the game.
[google_snake_game]

Admin Settings

  • Navigate to Snake Game Settings in the WordPress admin menu.
  • Configure the available settings as per your preference.
    • Custom Field: Description of what this field does.

Customization

  • Styling: You can customize the appearance by editing the style.css file in the plugin directory.
  • JavaScript: Modify the snake-game.js file for custom game logic or features.

Frequently Asked Questions

Can I customize the game size?

Yes, you can adjust the game size by editing the style.css file.

Is the game mobile responsive?

Yes, the game is designed to be responsive to different screen sizes.

Troubleshooting

  • Game not displaying: Ensure the shortcode is correctly placed in the text editor and not in a visual editor.
  • Styling issues: Confirm that the style.css file is correctly enqueued in your enqueue.php file.

Support

For support, please contact support@playgooglesnakegame.com.

Changelog

  • 1.0.0
    • Initial release.

All the release notes, and documentation is available on our Github. https://github.com/annvesllc/Snake-Game/releases