Title: Dinosaur Game
Author: Chris David Miles
Published: <strong>14 Tháng 2, 2019</strong>
Last modified: 19 Tháng 7, 2026

---

Tìm kiếm plugin

![](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

 Bởi [Chris David Miles](https://profiles.wordpress.org/chrisdavidmiles/)

[Tải về](https://downloads.wordpress.org/plugin/dinosaur-game.1.1.0.zip)

 * [Chi tiết](https://vi.wordpress.org/plugins/dinosaur-game/#description)
 * [Đánh giá](https://vi.wordpress.org/plugins/dinosaur-game/#reviews)
 *  [Cài đặt](https://vi.wordpress.org/plugins/dinosaur-game/#installation)
 * [Nhà phát triển](https://vi.wordpress.org/plugins/dinosaur-game/#developers)

 [Hỗ trợ](https://wordpress.org/support/plugin/dinosaur-game/)

## Mô tả

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.

## Ảnh màn hình

[⌊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.

## Cài đặt

 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.

## Hỏi đáp

### 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/).

## Đánh giá

![](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 Tháng 2, 2025
1 trả lời

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 Tháng 11, 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 Tháng 11, 2022 1 trả
lời

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 Tháng 10, 2021 1 trả lời

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 Tháng 8, 2021 1 trả lời

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 Tháng 6, 2021 1
trả lời

i hope customers will like it thanks

 [ Đọc tất cả 12 đánh giá ](https://wordpress.org/support/plugin/dinosaur-game/reviews/)

## Người đóng góp & Lập trình viên

“Dinosaur Game” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

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

“Dinosaur Game” đã được dịch qua 3 ngôn ngữ. Cảm ơn [những người tham gia dịch](https://translate.wordpress.org/projects/wp-plugins/dinosaur-game/contributors)
vì đóng góp của họ.

[Dịch “Dinosaur Game” sang ngôn ngữ của bạn.](https://translate.wordpress.org/projects/wp-plugins/dinosaur-game)

### Muốn tham gia phát triển?

[Duyệt code](https://plugins.trac.wordpress.org/browser/dinosaur-game/), check out
[SVN repository](https://plugins.svn.wordpress.org/dinosaur-game/), hoặc theo dõi
[nhật ký phát triển](https://plugins.trac.wordpress.org/log/dinosaur-game/) qua 
[RSS](https://plugins.trac.wordpress.org/log/dinosaur-game/?limit=100&mode=stop_on_copy&format=rss).

## Nhật ký thay đổi

#### 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

 *  Phiên bản **1.1.0**
 *  Cập nhật lần cuối **4 tháng trước**
 *  Số lượt cài đặt **1.000+**
 *  Phiên bản WordPress ** 3.3 hoặc cao hơn **
 *  Đã kiểm tra lên đến **7.0.8**
 *  Phiên bản PHP ** 5.2.4 hoặc cao hơn **
 *  Ngôn ngữ
 * [English (US)](https://wordpress.org/plugins/dinosaur-game/), [Japanese](https://ja.wordpress.org/plugins/dinosaur-game/),
   [Spanish (Chile)](https://cl.wordpress.org/plugins/dinosaur-game/), và [Spanish (Spain)](https://es.wordpress.org/plugins/dinosaur-game/).
 *  [Dịch sang ngôn ngữ của bạn](https://translate.wordpress.org/projects/wp-plugins/dinosaur-game)
 * Thẻ
 * [chrome](https://vi.wordpress.org/plugins/tags/chrome/)[Chromium](https://vi.wordpress.org/plugins/tags/chromium/)
   [dinosaur](https://vi.wordpress.org/plugins/tags/dinosaur/)[game](https://vi.wordpress.org/plugins/tags/game/)
   [shortcode](https://vi.wordpress.org/plugins/tags/shortcode/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/dinosaur-game/advanced/)

## Đánh giá

 5 trên 5 sao.

 *  [  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)

[Xem tất cả đánh giá](https://wordpress.org/support/plugin/dinosaur-game/reviews/)

## Những người đóng góp

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

## Hỗ trợ

Các lỗi đã xử lý trong vòng hai tháng gần đây:

     1 trên 1

 [Xem diễn đàn hỗ trợ](https://wordpress.org/support/plugin/dinosaur-game/)

## Ủng hộ

Bạn có muốn hỗ trợ vào sự phát triển của plugin này?

 [ Ủng hộ plugin này ](https://chrisdavidmiles.com/donate)