2048 Number Game for WordPress

Join the numbers and get to the 2048 tile! This WordPress plugin is a number combination game with the aim to achieve 2048 tile.

Share with others

Reading time: 3 minutes

Join the numbers and get to the 2048 tile! This WordPress plugin is a number combination game with the aim to achieve 2048 tile. Display the game based on the original 2048 design or customized the game appearance to your choice of colors, tile’s text or numbers, font sizes or even use image as tiles. The highest score ever encountered on your site are stored and displayed in widget to encourage playing the game. The plugin also saves each logged-in user’s high score if scoreboard is enabled. Read the FAQ to understand more about the plugin.

How to play: Use your arrow keys to move the tiles. When two tiles with the same number touch, they merge into one!

Based on the open-source game created by Gabriele Cirulli which is a clone of 1024 Android game.

2048 Number Game for WordPress Plugin

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.

2048 Number Game for WordPress Plugin

Requirements

WordPress version 3.5 or higher

Downloads

Envigeek Web Services is a Managed Services Provider (MSP) specialising in digital workspace, web presence and cybersecurity solutions for small and medium businesses (SMB/SME).