Skip to content
Lunar Lander game tribute written in Python with Pyxel retro game engine 🚀 🌕
Python Makefile
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
images Add briefcase build for multi achitecture Aug 20, 2019
lander Add briefcase build for multi achitecture Aug 20, 2019
.gitignore Add files to gitignore Aug 20, 2019
.isort.cfg
LICENSE
README.md Add briefcase build for multi achitecture Aug 20, 2019
makefile Add briefcase build for multi achitecture Aug 20, 2019
requirements-dev.txt Add briefcase build for multi achitecture Aug 20, 2019
requirements.txt Upgrade to pyxel 1.2.5 and start collision detection Aug 18, 2019
setup.py Add briefcase build for multi achitecture Aug 20, 2019

README.md

Pyxel Lander

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.

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, go to the folder, set up the venv and install its requirements:

$ cd pyxel-lander/
$ python3 -m venv venv
$ source venv/bin/activate
$ pip install -r requirements.txt

With everything installed run the game with:

$ python -m lander
You can’t perform that action at this time.