https://github.com/at1as/spacex_lander_game
Land falcon first stage on sea barge without tipping or missing the target
https://github.com/at1as/spacex_lander_game
game pygame python rocket spacex
Last synced: about 1 month ago
JSON representation
Land falcon first stage on sea barge without tipping or missing the target
- Host: GitHub
- URL: https://github.com/at1as/spacex_lander_game
- Owner: at1as
- License: mit
- Created: 2015-09-18T03:17:31.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2015-09-22T02:02:21.000Z (over 10 years ago)
- Last Synced: 2025-05-20T06:37:20.683Z (about 1 year ago)
- Topics: game, pygame, python, rocket, spacex
- Language: Python
- Size: 191 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SpaceX Lander Game
Land the Falcon v9.1 first stage on sea droneship without tipping over, missing the target, or landing too hard.

## Installation
```bash
$ git clone https://github.com/at1as/spacex_lander_game
$ sudo pip install hg+http://bitbucket.org/pygame/pygame
$ python launch_game.py
```
Note that PyGame installation will vary depending on your OS
## Controls
'A' or Left Arrow:
* Steer Left
'D' or Right Arrow:
* Steer Right
'W' or Up Arrow:
* Trottle
## Constraints
* Limited Fuel
* Drone ship sways on the water from left to right
* Wind is constant throughout descent, but varies with direction and intensity during each round
* Start position and angle of rocket varies between rounds
* Must land with rocket angle of less than -10 to 10 degrees
* Must land with rate of descent of 5 or less