Skip to content

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

License

Notifications You must be signed in to change notification settings

humrochagf/pyxel-lander

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages