Skip to main content

A lightweight HTML+Pygame 2048 game launcher for Python

Project description

2048lite 🎮

2048lite is a lightweight Python package that launches the classic 2048 game directly from a local HTML file or a Pygame interface.

No dependencies beyond pygame, no frameworks, no internet — just install and play.


🚀 Features

  • 🕹️ Play 2048 instantly from Python
  • 💡 HTML version included (offline play)
  • 🎮 Optional Pygame version for retro style
  • 📦 Simple install, simple launcher

📦 Installation

pip install 2048lite

🎮 How to Play

from 2048lite import launch_game

launch_game()  # Launch HTML game in your browser

Optional:

from 2048lite import play_pygame

play_pygame()  # Launch the Pygame version

🧱 Requirements

  • Python >= 3.7
  • Pygame >= 2.1.0 (installed automatically)

📄 License

Released under the MIT License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

2048lite-1.0.0.tar.gz (1.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

2048lite-1.0.0-py3-none-any.whl (1.6 kB view details)

Uploaded Python 3

File details

Details for the file 2048lite-1.0.0.tar.gz.

File metadata

  • Download URL: 2048lite-1.0.0.tar.gz
  • Upload date:
  • Size: 1.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for 2048lite-1.0.0.tar.gz
Algorithm Hash digest
SHA256 a15e185e8a9fedb2bd3f2e6666dc9da084ec1f6a75a1037b591691a4f247bcf3
MD5 2db5dd22488fde5e927efa735de65492
BLAKE2b-256 0bebefff6df1d1f9895f1ef5caf901a17defb53e47671dcf233dbb3b75d44466

See more details on using hashes here.

File details

Details for the file 2048lite-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: 2048lite-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 1.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for 2048lite-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 813fedd53b08393d35368b0c134a2bfd956ca8b27bac9f0393757164cab814d9
MD5 cb439f1b54e41217809b7a50d1f3984e
BLAKE2b-256 5a50219e3ae5dc33806be444e9f5f13e422a51c415b15a008198ba080f5badf5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page