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.
Metadata
Release files for 2048lite 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| 2048lite-1.0.1.tar.gz | 1.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 2048lite-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 3.0 kB
Release files / 2048lite-1.0.1.tar.gz
| Download URL | 2048lite-1.0.1.tar.gz |
|---|---|
| Size | 1.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2b09503a421e18b30152ec2b6bf3628d64eb8b48418a38be685c776e2773ca3f
|
|
BLAKE2b-256 checksum How to use checksums |
e5b2b677fbc9fafead0dd4e2010958fca15353e32bc6f38457a6487b4bdac6cb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.5
|
Release files / 2048lite-1.0.1-py3-none-any.whl
| Download URL | 2048lite-1.0.1-py3-none-any.whl |
|---|---|
| Size | 1.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c8cd03084f3dd49eef582f2e74ad36899ebcc57f7e1da7f9bb84155ddd42a736
|
|
BLAKE2b-256 checksum How to use checksums |
3bb567bdab60db465ba0c0a2f4cf3ada24e1f646e9aaadef403f3969cb18204a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.5
|