Cloned Games

Python 2048

HaltedSemi-playableNone

Based on 2048

2048 (original game, not this project)Original game image
Image of the original game, 2048. This project has no screenshots of its own yet.
Links, repository & details

About

2048 is a single-player sliding tile puzzle game written by Gabriele Cirulli, originally in JavaScript and CSS, released on GitHub as free and open-source software on 9 March 2014 under the MIT License, with iOS and Android versions following in May 2014. Python 2048 (Py2048) is a Python port of 2048 built with Pygame, requiring Python 3.10 or later for its use of match statements; it runs in its own process via Python's multiprocessing so it won't block a host program, and supports an optional endless mode that lets play continue past the 2048 tile, plus a local top-eight score list.

How it differs from the original

Exposes a queue-based control API for driving moves and reading back the board state programmatically, which the original browser game does not offer, and adds an optional endless mode beyond the original's win condition.

Getting started

Install the package with pip, then either launch it through its bundled menu-driven window or drive it programmatically via its Python API; an optional endless mode lets play continue after reaching the 2048 tile.

Known issues & limitations

  • input: Holding down directional keys causes continuous movement; bug currently being fixed.
  • The author notes a bug where tiles keep moving continuously while a direction key is held down, which is being fixed.
Share:

More like Python 2048

Active
Ebitengine screenshot
Ebitengine is an open-source, cross-platform 2D game engine for Go, with simple APIs for graphics, input, and audio across many platforms.
Platforms:Web
Stars13,485
Updated1 month ago
LicenseApache-2.0
Release2013
Halted
2048 screenshot
The official open-source 2048 repository: the original browser-playable JavaScript and CSS implementation, also on iOS and Android.
Platforms:WebAndroidiOS
Stars13,411
Updated2 years ago
LicenseMIT
Release2014
Halted
2048.cpp screenshot
A terminal reimplementation of 2048 in C++11 with vim-style controls, save/resume, and score tracking, buildable via CMake or Meson.
Platforms:LinuxOSX
Stars2,247
Updated2 years ago
LicenseMIT
Release2018
Halted
bash2048 screenshot
bash2048 is a deprecated, unmaintained Bash shell-script implementation of 2048, controlled with the arrow keys.
Platforms:Linux
Stars910
Updated2 years ago
LicenseUnlicense
Release2014
Sporadic
2048.c screenshot
A console implementation of 2048 written in C for GNU/Linux, also tested on FreeBSD and OpenBSD.
Platforms:Linux
Stars670
Updated7 months ago
LicenseMIT
Release2014
Archived
2048-python screenshot
2048-python is an archived, read-only Python remake of 2048 built with the Tkinter GUI toolkit.
Platforms:None
Stars358
Updated5 years ago
LicenseMIT
Release2014