You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

2048lite

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

2048lite

Minimal 2048 GUI game in Python for Dev Kid

1.0.1
pipPyPI
Maintainers
1

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.

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts