Skip to content

smahesh29/Space-Invader-Game

Repository files navigation

Space-Invader-Game GitHub

This is a Space Invader Game created using python turtle. It contains two python files:

  1. space.py
  2. space_up.py

The space_up.py file is a little bit more updated compared to space.py. In order to understand how the program is working, you should first go through the space.py file. After understanding the code, go through the space_up.py file.

In both files winsound and os, modules are used to play sound in windows and linux/mac respectively. When sound for linux is commented and you are running the program in linux, uncomment the sound for linux and comment the sound for windows. In the program, it is specified which line is used to give sound for windows and which line is used to give the sound for linux.

For these programs, an additional turtle module in python is required and also winsound for windows users or os for linux/mac users. If these modules are not pre-installed, then install it first to execute programs without any errors.

For installing Turtle Module use command :

    pip install turtles

Demo:

Releases

No releases published

Packages

No packages published

Languages