2048

2048

2048 is a number combination game with the aim to achieve 2048 tile.

  • Almost active
    This plugin was not updated the last 3805 days ago.
  • This plugin is not tested with the last major release of WordPress
    Content for list item
  • There is no information available which PHP version this plugin requires
    The latest stable PHP 8.4.1 was released on 21 November 2024
  • No information about vulnerabilities and unfixed security issues is available.
    Content for list item

Ratings

3

Active installs

90

Total Downloads

8K

Support Threads

0

Last updated

03 July 2014

Added

08 April 2014

Versions

100%
  • Version 0.3

Screenshots

Submit high score when game ended.
Easily add the game shortcode on post editor.
The plugin settings page.
Various customizations to the game appearance.
Generate customized shortcode easily.
Widget that shows current highest score.

About 2048

FAQ

How the high score works?

Since version 0.3, the plugin can store each logged-in users high score is enabled in the settings. Previous version only keep a single high score for the site.

When someone ended a game (either won or game over) and if their high score more than your site\’s high score or their personal high score record, the game will save the new score. It is automatically saved for any logged-in users. If you enable to allow guest users to submit high score, an email field will appear to them before the score submission. The email address is required to notify them of new high score updates.

Tips on using custom image for tiles

Minimum image dimension is 107px width and height. The game tiles resizes to 58px on smaller screens. Recommended to use a perfect square image. The plugin will force your image to appear in perfect square anyway. Do not use transparent PNGs as you will see overlapping image tiles when merging tiles.

How the use the custom shortcode generator?

On the Custom Features tab of plugin settings page, make the changes you wanted to customized colors, tiles text and font size, or using image as tiles. Check or uncheck the Enabled Features as required. Without saving the changes, click the Generate button and a textarea will be shown with the custom shortcode. Copy the shortcode and paste it on your page or post. Publish/save it to see the game in custom appearances.

Will it work if I insert the shortcode into text widgets?

Yes, technically it will work. Depends on your theme, your widget width may not fit the game board thus may cause unexpected result. It is always recommended to have the game board on its own page or post.

Changelog

0.3.1

0.3

0.2

0.1.1

0.1

How to install 2048

  1. Install from within WordPress plugin installer, or get from WordPress plugin repository
  2. Activate the plugin through the “Plugins” menu in WordPress.
  3. Create or edit any page (or post) and insert the game shortcode using the selector besides Add Media button.

To customize the game appearances, go to Settings > 2048 Number Game > Custom Features to change the colors, text or number appeared on tiles, the font sizes and also to use image as the tile.

A widget is available to show site’s high score or your top 5 scores, and can be linked to your choice of page that contains the game board.

Use shortcode [scoreboard2048] to display a list of your logged-in users high score.