Giter VIP home page Giter VIP logo

lunar-lander's Introduction

Lunar lander

Hi, thanks for checking my submission of the lunar lander.

Aim

The aim of this game is to land the lunarlander from a height of 100m under constant gravitational acceleration 1m/s^2 To land safely, you must touch down at a speed of less than 10 m/s. In addition you must also land the spacecraft the right way up.

Additional features

In addition to the specified functionality, this game contains a number of features:

  • 2D Rotation of the spacecraft
  • Fuel loss affects the acceleration of the ship
  • A fancy GUI
  • Keyboard control

Controls

The slider on the right allows you to control the thruster of the rocket. Keyboard control allows control of the thruster and rotation.

  • Use the up/down key to control the thruster
  • Use the left/right key to control angular velocity of the ship

Running

My lunar lander can be run with both python 2.7 or python 3.4. However, please note that a required package 'pygame' is only installed in anaconda with python 2.7 on the university system and not 3.4.

Reference

Earth from Moon image from NASA

lunar-lander's People

Contributors

isawan avatar

Watchers

James Cloos avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.