https://github.com/amssdias/python-plane-game
A simple game to avoid obstacles.
https://github.com/amssdias/python-plane-game
Last synced: 3 months ago
JSON representation
A simple game to avoid obstacles.
- Host: GitHub
- URL: https://github.com/amssdias/python-plane-game
- Owner: amssdias
- Created: 2021-05-10T14:38:41.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-05-11T13:06:52.000Z (about 4 years ago)
- Last Synced: 2025-01-13T19:24:35.949Z (5 months ago)
- Language: Python
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Avoid obstacles
This is a game just to learn about the `pygame` module.
## Pre requisites
- [Python](https://www.python.org/downloads/) - 3.8.4 or up
### Pipfile and Pipfile.Lock
Inside the Pipfile there's all the modules name needed for the project.
Download Pipenv through the terminal window (make sure you have Python installed), just type `pip install pipenv`.After installing pipenv all you have to do is to download the files and in the terminal window, got to the folder with these files and run `pipenv install` and automatically will install this modules.
This will create a virtual environment with the module `pygame`.
To run this virtual environment all you must do is run `pipenv shell` and to close the virtual environment `exit`.
If any doubts here's a link to some more explanations:
- [Pipenv](https://pipenv-fork.readthedocs.io/en/latest/basics.html)
## Run
- Download the project, open terminal window on folder with 'plane_game.py' and type:
```
python plane_game.py
```