repl.it
@ericqweinstein/

Space Invaders

Python

A little Space Invaders clone, written in Python.

fork
loading
Files
  • main.py
  • fleet.py
  • game.py
  • invader.py
  • laser.py
  • player.py
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
'''
A little Space Invaders clone, written in Python.
'''

__author__ = 'Eric Weinstein'

import curses

from curses import wrapper
from game import Game


def main(stdscr):
    curses.curs_set(False)

    stdscr.nodelay(True)
    stdscr.clear()

    Game(stdscr).run()


if __name__ == '__main__':
    wrapper(main)