A cross-platform clone of 2048 using Python 2.7 and pygame.
You may not have to install Python, as it is installed by default with most Linux distros. However, if for some reason you do not have Python 2.7, package names are included below along with pygame.
Arch: sudo pacman -Sy python2 python2-pygame
Debian/Ubuntu: sudo apt-get install python2.7 python-pygame
Fedora: sudo yum install python pygame
Python 2.7, pygame (direct download)
NOTE: Since pygame only comes in 32-bit, the linked version of Python is also 32-bit. A 64-bit installation of Python will not work with pygame.
Neither of the devs have a Mac and can attest to this, but theoretically since one could install Python 2.7 and pygame (direct download) on the Mac, it should run. The game does not include any OS-specific code. The same thing applies to Mac as it does to Windows; you need the 32-bit version of Python, as pygame only comes in 32-bit. One could also download dependencies via MacPorts.
The download page for Python 2.7.7 is here just in case I linked to the wrong one.
You can change the size of the playfield by inputting two numbers as arguments on the command line. This is optional. However, both must be present to affect the size.
USAGE:
python main.py [board_width] [board_height]
Press A
to initiate "Auto Mode!" Watch as the game plays itself for you!