Add the dinosaur game from Google Chrome to your site using the Dino Game Gutenberg block or [dino-game] shortcode.
Introducing the Google Chrome Dinosaur Game plugin for WordPress! With this plugin, you can easily add the popular game to any page, post or widget of your website.
To add the game, simply use the shortcode [dino-game]
anywhere on your site. Alternatively, you can use the dino game Gutenberg block to add it directly to a page or post.
With the Gutenberg block, you can easily adjust the game’s speed and sound settings (mute audio) using the block’s built-in settings. Additionally, you can also choose whether or not to save the high score.
If you prefer to use the shortcode method, you can customize the game’s speed and audio settings by including attributes in the following format: [dino-game speed="8" mute_audio='true']
Dino Game is a lightweight plugin and it only loads Javascript and CSS files on the particular page or post where the game is added.
You can increase the speed and mute audio directly from the Gutenberg block settings and in case if you use the shortcode then you can add attributes to control the speed and audio in this format – [dino-game speed=”10″ mute_audio=’true’]
High scores are only saved until the browser tab is closed.
The game will work on all screen sizes. Users can also play on mobile using touch controls instead of a keyboard.