Cloned Games

yampa2048

HaltedPlayableNone

Based on 2048

yampa2048 screenshotLinks, repository & details

About

2048 is a sliding-tile puzzle game created by Italian developer Gabriele Cirulli, originally written in JavaScript and released as open-source software in March 2014, with iOS and Android versions following that May. yampa2048 is a Haskell clone of 2048 built as a learning exercise for the Yampa functional reactive programming (FRP) library, using Gloss for rendering. Its game logic and rendering code were adapted from other open-source Haskell/Elm implementations of 2048 rather than written from scratch.

How it differs from the original

The Gloss rendering library used here can't style its font, so the tile numbers look plainer than in the original; the author also notes the Escape key doesn't close the game as intended.

Getting started

Set up and run it with Cabal (cabal sandbox init, cabal install --dependencies-only, cabal run). Play is the same as the original — slide tiles to combine matching numbers and try to survive as long as possible.

History

The project was written by the author as a learning exercise to understand functional reactive programming with the Yampa library, reusing game-logic and rendering code from other developers' existing 2048 implementations rather than building those parts from scratch.

Known issues & limitations

  • graphics: Gloss lacks the ability to style the font, so numbers do not look as polished as desired.

Credits & contributing

  • Game logic was adapted from Josh Kirklin's 2048-elm implementation, and the Gloss rendering code from Maia Werbos's 2048haskell project.
Share:

More like yampa2048

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