Title: Dinosaur Game
Author: Chris David Miles
Published: <strong>14 Februari 2019</strong>
Last modified: 19 Julai 2026

---

Search plugins

![](https://ps.w.org/dinosaur-game/assets/banner-772x250.png?rev=2030297)

![](https://ps.w.org/dinosaur-game/assets/icon.svg?rev=2030297)

# Dinosaur Game

 Oleh [Chris David Miles](https://profiles.wordpress.org/chrisdavidmiles/)

[Download](https://downloads.wordpress.org/plugin/dinosaur-game.1.1.0.zip)

 * [Details](https://ms.wordpress.org/plugins/dinosaur-game/#description)
 * [Reviews](https://ms.wordpress.org/plugins/dinosaur-game/#reviews)
 *  [Pemasangan](https://ms.wordpress.org/plugins/dinosaur-game/#installation)
 * [Pembangunan](https://ms.wordpress.org/plugins/dinosaur-game/#developers)

 [Support](https://wordpress.org/support/plugin/dinosaur-game/)

## Description

This plugin lets you add the dinosaur game from Google Chrome onto your WordPress
site.

To use it, install the plugin, and use the [dinosaur-game] shortcode wherever you’d
like the game to appear.

### How to play

 * Jump to start a game.
 * The object of the game is to run as far as possible. Enemies and obstacles will
   try to block your path.
 * Use the space bar or up key on your keyboard to jump over them. The down key 
   lets you crouch. On mobile, tap on the game area to jump.

## Screenshots

[⌊A demo of the dinosaur game in a post.⌉⌊A demo of the dinosaur game in a post.⌉[

A demo of the dinosaur game in a post.

[⌊The dinosaur game works on all screen sizes.⌉⌊The dinosaur game works on all screen
sizes.⌉[

The dinosaur game works on all screen sizes.

## Installation

 1. Search for “Dinosaur Game” on the Plugins > Add New screen in your WordPress admin,
    or upload the plugin folder to /wp-content/plugins/.
 2. Activate the plugin through the Plugins screen in WordPress.
 3. Add the [dinosaur-game] shortcode wherever you’d like the game to appear.

## FAQ

### Can I change how the game looks?

Yes! The HTML markup of the game has classes that make it easy to apply CSS to them.
If you like playing with game files, you can also swap out the spritemap with your
own by editing the game-sprites-1x.png and game-sprites-2x.png files.

### Can I use this on a 404 page or another template file?

Yes! In fact, you can put this game anywhere on your site that you can put a shortcode.
Inside post/page content you can use [dinosaur-game]. In a PHP template file you
can use:

    ```
    <?php echo do_shortcode('[dinosaur-game]'); ?>
    ```

### I don’t see the game showing up. What should I do?

 * If you see the message “The dinosaur game can only be used once per page.” then
   that means the page is trying to show the shortcode more than once. Since the
   game binds to keys (up, down, and spacebar) it wouldn’t work well with multiple
   instances of the game on a single page. So this game only runs once per page 
   or post.
 * If you don’t see an error message, and the shortcode still isn’t working, check
   your PHP error log or turn on debug mode to see if another plugin or theme is
   interfering with this plugin.

Also feel free to ask a question on the [WordPress.org support forum](https://wordpress.org/support/plugin/dinosaur-game/).

## Reviews

![](https://secure.gravatar.com/avatar/e0598df322c05dcfcf19560ae70273e8ac8a0e77802354d3ff29464ea320ae8e?
s=60&d=retro&r=g)

### 󠀁[It works without problems](https://wordpress.org/support/topic/it-works-without-problems-2/)󠁿

 [Просування сайтів](https://profiles.wordpress.org/bogdan2143/) 17 Februari 2025
1 reply

It works without problems, you can benefit. I want to post more games on my website

![](https://secure.gravatar.com/avatar/58057a47be92d4e78101315f6fa5081c707060eb68187b5d2b78ef1e0b651028?
s=60&d=retro&r=g)

### 󠀁[Cool game for 404 pages](https://wordpress.org/support/topic/cool-game-for-404-pages/)󠁿

 [aregtheeditor](https://profiles.wordpress.org/aregtheeditor/) 29 November 2023

I added this plugin for my 404 pages to be fun!

![](https://secure.gravatar.com/avatar/4a2ef97d9889a33bcbd6c3e87c1aafac242164fcf5ecf9227d4dee9410357e57?
s=60&d=retro&r=g)

### 󠀁[great for offline functionality in PWA websites](https://wordpress.org/support/topic/great-for-offline-functionality-in-pwa-websites/)󠁿

 [Xandro](https://profiles.wordpress.org/sudarshankotian/) 7 November 2022 1 reply

This is really cool game, the one we play in Google chrome often. I mean only for
offline purpose. 😉

![](https://secure.gravatar.com/avatar/7ef118d31a3e8e6943b4bf055866d3a8bb37122947e30e64124e8626ea70db66?
s=60&d=retro&r=g)

### 󠀁[AWESOME GAME PLUGIN](https://wordpress.org/support/topic/awesome-game-plugin/)󠁿

 [Storiez](https://profiles.wordpress.org/storiez/) 9 Oktober 2021 1 reply

This is what i was looking for a very lonnnnnnnnng time! Finally,I’ve found it. 
It’s work properly. So Awesome!

![](https://secure.gravatar.com/avatar/2e1c0ebd8d751621a31d51bad22c94291862dbb95567fc976d58af63c6af6d5f?
s=60&d=retro&r=g)

### 󠀁[Great base to build a site specific game on](https://wordpress.org/support/topic/great-base-to-build-a-site-specific-game-on/)󠁿

 [RichHelms](https://profiles.wordpress.org/richhelms/) 1 Ogos 2021 1 reply

The code is very well written and documented. I have been building a game based 
on this code by modifying the png sprint image.

![](https://secure.gravatar.com/avatar/7fe1cea42f9e6d31656e222c292c679418e182d21c0307f6d0b01b7a68dd60b6?
s=60&d=retro&r=g)

### 󠀁[nice game to have on website](https://wordpress.org/support/topic/nice-game-to-have-on-website/)󠁿

 [tajmohamed30](https://profiles.wordpress.org/tajmohamed30/) 15 Jun 2021 1 reply

i hope customers will like it thanks

 [ Read all 12 reviews ](https://wordpress.org/support/plugin/dinosaur-game/reviews/)

## Contributors & Developers

“Dinosaur Game” adalah perisian sumber terbuka. Orang-orang berikut telah menyumbang
kepada pemalam ini.

Penyumbang

 *   [ Chris David Miles ](https://profiles.wordpress.org/chrisdavidmiles/)
 *   [ Google ](https://profiles.wordpress.org/google/)

“Dinosaur Game” telah diterjemahkan ke dalam 1 penempatan. Terima kasih kepada [para penterjemah](https://translate.wordpress.org/projects/wp-plugins/dinosaur-game/contributors)
untuk terjemahan mereka.

[Translate “Dinosaur Game” into your language.](https://translate.wordpress.org/projects/wp-plugins/dinosaur-game)

### Berminat dalam pembangunan?

[Layari kod](https://plugins.trac.wordpress.org/browser/dinosaur-game/), periksa
[repositori SVN](https://plugins.svn.wordpress.org/dinosaur-game/), atau langgani
[log pembangunan](https://plugins.trac.wordpress.org/log/dinosaur-game/) dengan 
[RSS](https://plugins.trac.wordpress.org/log/dinosaur-game/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.1.0

 * Adds translation support, so the plugin can now be translated into other languages.
   Translations are welcome at https://translate.wordpress.org/projects/wp-plugins/
   dinosaur-game/

#### 1.0.7

 * Makes it easier to redefine plugin resources so another plugin could specify 
   custom js, css, or game sprites.

#### 1.0.6

 * Solves a problem with full page caching.

#### 1.0.5

 * Solves a compatibility issue with the plugin Lazy Load by Mohammad Jangda.

#### 1.0.4

 * Solves a compatibility issue with Jetpack Photon CDN.

#### 1.0.3

 * “The dinosaur game can only be used once per page.” checking is now done within
   the shortcode rather than using CSS, and works much better.

#### 1.0.2

 * The game’s CSS is now slightly more portable.
 * This release fixes compatibility issues with a number of image lazy load plugins
   including:
    - Crazy Lazy
    - EWWW Image Optimizer
    - Lazy Load by WP Rocket
    - Lazy Loader
    - Native Lazyload
    - Smush Image Compression and Optimization (wp-smushit) by WPMU DEV
    - WP-Optimize Premium – Clean, Compress, Cache

#### 1.0.1

 * Solves a compatibility issue with the a3 Lazy Load plugin.

#### 1.0.0

 * Initial release.

## Meta

 *  Version **1.1.0**
 *  Last updated **18 jam lalu**
 *  Active installations **1,000+**
 *  WordPress version ** 3.3 or higher **
 *  Tested up to **7.0.2**
 *  PHP version ** 5.2.4 or higher **
 *  Languages
 * [English (US)](https://wordpress.org/plugins/dinosaur-game/) dan [Spanish (Spain)](https://es.wordpress.org/plugins/dinosaur-game/).
 *  [Terjemahkan kepada bahasa anda](https://translate.wordpress.org/projects/wp-plugins/dinosaur-game)
 * Tags
 * [chrome](https://ms.wordpress.org/plugins/tags/chrome/)[Chromium](https://ms.wordpress.org/plugins/tags/chromium/)
   [dinosaur](https://ms.wordpress.org/plugins/tags/dinosaur/)[game](https://ms.wordpress.org/plugins/tags/game/)
   [shortcode](https://ms.wordpress.org/plugins/tags/shortcode/)
 *  [Paparan Lanjutan](https://ms.wordpress.org/plugins/dinosaur-game/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  13 5-star reviews     ](https://wordpress.org/support/plugin/dinosaur-game/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/dinosaur-game/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/dinosaur-game/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/dinosaur-game/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/dinosaur-game/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/dinosaur-game/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/dinosaur-game/reviews/)

## Penyumbang

 *   [ Chris David Miles ](https://profiles.wordpress.org/chrisdavidmiles/)
 *   [ Google ](https://profiles.wordpress.org/google/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/dinosaur-game/)

## Derma

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://chrisdavidmiles.com/donate)