Back to services

Cubiks-2048

Clone of 2048 game in 3D.

View alternatives to Cubiks-2048
Suggest edit
Open source
Self-hostable
cc-by-nc-4-0
Recent reviews

Alternatives

Tech stack

No tech stack added yet. Sign in to suggest some

Introduction

Cubiks-2048 is a small puzzle game published on GitHub by Kshitij-Banerjee. It takes the classic 2048 gameplay into three dimensions. The rules are the same as the original: when tiles with the same number collide, they merge, and the ultimate goal is to reach 2048. The difference is that it uses a cube instead of a flat grid. All tiles are affected by gravity and fall downward. Players rotate the cube so that tiles tumble over and stack onto other tiles to merge.

How to Play

  • Arrow keys: Rotate the cube.
  • Space bar or mouse click: View all the tiles.
  • Gravity mechanic: All tiles fall downward. Rotate the cube so tiles tumble and stack, and matching numbers will merge.

Target Users and Use Cases

  • Players who enjoy number-merging games like 2048 and want a 3D twist.
  • Users who want to play a quick round in the browser in their spare time to relax.
  • Front-end developers and learners who want to see how a 3D web mini-game is built.

Key Features

  • 2048 in 3D: Played in a cubic space, with added gravity and tumbling mechanics that demand more spatial reasoning than the flat version.
  • Play directly in the browser: The project provides an online version via GitHub Pages (kshitij-banerjee.github.io/Cubiks-2048/), with nothing to install.
  • Simple controls: Only the arrow keys, space bar and mouse are needed.
  • Open source code: The repository contains HTML, JavaScript, styles, textures and PSD design source files, making it easy to study and explore.

Deployment

This is a purely front-end static web project. The repository root contains index.html, along with resource directories such as js, libs, styles and Textures. To deploy it yourself:

  1. Clone the repository: git clone https://github.com/Kshitij-Banerjee/Cubiks-2048.git
  2. Host the project directory with any static file server (for example Nginx, or a simple local HTTP server).
  3. Open index.html in your browser to start playing.

Technical Requirements

  • A modern browser is required.
  • Playing requires a keyboard (arrow keys, space bar) and a mouse.

License

This work is licensed under the Creative Commons Attribution-NonCommercial 4.0 International License (CC BY-NC 4.0). You may study, modify and share it for personal use, but you must give credit, and it may not be used for commercial purposes. This license is not an OSI-approved open source software license, so please take note before any commercial use.

Things to Note

This is a small personal project with a modest community (about 26 stars and 5 forks) and fairly simple features. It works well as a lightweight casual game or a learning example.