Skip to content
/ 2048 Public

The 2048 game but in Python3 (Tkinter) 🐍

Notifications You must be signed in to change notification settings

brandiny/2048

Repository files navigation

2048 in Python3 (Tkinter)

2048 is a classic mobile game. This is a spinoff of 2048 for desktop using Python3's built-in tkinter framework.

Languages

PythonPython Python

Quick Start

Run the file named 2048.exe, a pre-compiled python executable.

Custom Build Instructions

With Python3 installed, run these instructions within the 2048/ folder, in the terminal.

Windows py -m venv env && env\Scripts\activate && py -m pip install -r requirements.txt

Custom Run Instructions

Windows python main.pyw

Features

In addition to the traditional game mechanics, there are:

  • Local highscore tables
  • In-depth game statistics
  • Saving and loading capabilities

The code utilises:

  • Object oriented design (utilised in switching views)
  • Matrix manipulation (core mechanics of the 2048 board)
  • File I/O (saving and loading)
  • Use of 3rd party libraries (for image manipulation)

Documentation

If you would like more information, there is a full documentation of the development process and tests used.

Preview Snippet

2048_preview

About

The 2048 game but in Python3 (Tkinter) 🐍

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages