File tree Expand file tree Collapse file tree 4 files changed +22
-2
lines changed
Expand file tree Collapse file tree 4 files changed +22
-2
lines changed Original file line number Diff line number Diff line change 11# Default ignored files
2- .idea
2+ .idea
3+
4+ # Environments
5+ .env
6+ .venv
7+ env /
8+ venv /
9+ ENV /
10+ env.bak /
11+ venv.bak /
Original file line number Diff line number Diff line change @@ -56,7 +56,11 @@ A look at **Game Over** Screen:
5656![ logging] ( ./assets/my_space_invaders-logging.gif )
5757
5858## Installation
59- #### On windows:
59+ ### On windows:
60+
61+ Just double-click the ` runner.bat ` file to launch the game, if you already have ** python** and ** pip** on your machine.
62+
63+ You can also manually install and run the game by following the manual process below:
60641 . ensure that you have ** python** and ** pip** on your machine. If not, install it from [ here] ( https://www.python.org/downloads/ ) .
61652 . clone the repo to a local directory or download it as zip and un-zip it.
62663 . open windows command prompt (cmd) and enter the following commands:
@@ -68,6 +72,11 @@ A look at **Game Over** Screen:
6872
6973you can skip creating a virtual environment if you wish and ** ignore steps 4-6** but it is not recommended.
7074
75+ ### On Linux or macOS:
76+
77+ Navigate to ` main.py ` and run ` python main.py ` , if you already have ** python** and ** pip** on your machine.
78+
79+ If not, get python and then run the main to launch the game!
7180
7281## References and Resources
7382All the resources used are mentioned below:
Original file line number Diff line number Diff line change 1+ @ echo off
2+ cmd /k " py -m pip install --user virtualenv & py -m venv env .\env\Scripts\activate & pip install -r requirements.txt & cls & cd Space Invaders && python main.py"
You can’t perform that action at this time.
0 commit comments