Skip to main content

Lunar Lander game tribute written in Python with Pyxel retro game engine

Project description

Pyxel Lander

PyPI PyPI - License PyPI - Python Version Code style: black

Lunar Lander game tribute written in Python with Pyxel retro game engine.

screenshot

Features

  • Procedural map generation
  • Pixel perfect collision detection
  • Fuel propulsion system
  • HUD with the Lunar Module feedback
  • Landing impact detection

Controls

  • Use the arrow keys to control the Lunar Module.
  • The s key starts the game.
  • You can change maps with the m key on the menu.
  • The r key restarts the game.
  • You can exit the game with the q or esc keys.

Packaged executable

If you want to play the game without installing the development tools you can check it on itch.io.

PyPI Installation

This game runs with Python 3.7 or above.

You can use pipx to install the game and have it available as an standalone program:

pipx install pyxel-lander

Then you can run the game running:

pyxel-lander

Warning: The Pyxel requirement uses external libraries, make sure you have them all installed by looking into its docs.

Running from source code

To run it from the source code you need first to clone from the repository:

git clone https://github.com/humrochagf/pyxel-lander.git

After cloned, access the folder and install its dependencies with poetry:

cd pyxel-lander/
poetry install

With everything installed run the game with:

poetry run python -m pyxel_lander

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

pyxel-lander-1.4.0.tar.gz (7.8 kB view details)

Uploaded Source

Built Distribution

pyxel_lander-1.4.0-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

Details for the file pyxel-lander-1.4.0.tar.gz.

File metadata

  • Download URL: pyxel-lander-1.4.0.tar.gz
  • Upload date:
  • Size: 7.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.12 CPython/3.10.1 Linux/5.15.8-76051508-generic

File hashes

Hashes for pyxel-lander-1.4.0.tar.gz
Algorithm Hash digest
SHA256 9c79900fd186f22c83b13e5bc0bb906696b766115fc1357a0a2f306c1fe68257
MD5 3a36e0003e17a022a75a399b5aba6f93
BLAKE2b-256 c44a08e84728429f83eed2b8e9be88a37ce2b6aa0f9c971c498331ef238a2a8f

See more details on using hashes here.

File details

Details for the file pyxel_lander-1.4.0-py3-none-any.whl.

File metadata

  • Download URL: pyxel_lander-1.4.0-py3-none-any.whl
  • Upload date:
  • Size: 8.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.12 CPython/3.10.1 Linux/5.15.8-76051508-generic

File hashes

Hashes for pyxel_lander-1.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 77d8640d1ed25cb5f44391a45c047724ced1f1f1f72a0bf52066bdbb0e6e3021
MD5 90f100dfd0e31b4ea055ef65fbdc05be
BLAKE2b-256 a204dc363d8fa01543482df3c86fdd7358c5722841506f52a3b25d7db2c556ba

See more details on using hashes here.

Supported by

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