Lunar Lander - 1.0
Lunar Lander that fits within the default IDLE editor screen of 80 x 25 characters.
Rex Allison
(pyrex)
Changes
Links
Releases
Lunar Lander 1.0 — 12 Dec, 2015
Pygame.org account Comments
-
dg 2015-12-18 03:55
it didnt work
-
Yarillo 2015-12-30 02:20
dg: it won't work without pyaudio (https://people.csail.mit.edu/h... or a recent version of python (above 3.0).
E:\Bin\Python32\lib\site-packages\pkg_resources\__init__.py:106: UserWarning: Support for Python 3.0-3.2 has been dropped. Future versions will fail here.
warnings.warn(msg)
Traceback (most recent call last):
File "E:\Travail\Python\lunarlander.py", line 6, in <module>
pygame.font.init();ft=pygame.font.SysFont('courier',fs);pa=pyaudio.PyAudio()
File "E:\Bin\Python32\lib\site-packages\pygame\sysfont.py", line 577, in SysFont
font = pygame.font.Font(fontname, size)
TypeError: integer argument expected, got float
[Finished in 1.6s] -
Brian Zimmerman 2016-01-05 00:51
Two things I had to do to get this to work for Windows 7 from the command prompt:
1) python -m pip install pyaudio
2) edit lunarlander19.py. On line 6, change ft=pygame.font.SysFont('courier',fs); to ft=pygame.font.SysFont('courier',20)