- Open PyCharm and Click the Button "Get from VCS"
- Paste the link of this repository on the URL box
https://github.com/SoaresPT/Flight_game_simulator
then click Clone at the bottom
- Open
main.py
and you'll see 2 warning messages. One about the python interpreter and another about Packages not being installed.
- To fix the Package requirement not satisfied press the button
Install Requirement
It is highly recommended to run the game on a terminal window due to coding practices we've used to clear the terminal in order to simulate animations.
- Right click the Project Name
Flight_game_simulator
and ClickCopy Path/Reference...
followed byAbsolute Path
On windows you can open the start menu and type cmd
and select the Command Prompt. Type cd
(give a space after the d) and right click on the window to paste the Path you previously copied from Pycharm
Press the Enter
key and you'll be inside the project's directory. Launch the game by typing .\main.py
(This may not work if you set PyCharm as the default intreperter) so another way is to run: python main.py
- python 3.10
- pip 22.2.2
Before installing python packages from requirements file make sure postgresql is installed
For Mac users:
brew install postgresql
brew services start postgresql
pip install -r requirements.txt