This library is ment to be runned from the command line.
-
Install Python 3.6.6 or 3.7.0 are fine. for tensor flow you will need 3.6.6
-
Make shure you added python into the environment variables, is a checkbox at installation (on windows).

-
Install
virtualenv, this will allow you to make your own python environments. -
Activate your virtual environment:
- So after you created a virtual environment you need to activate it, so go to the directory in which you created it, inside a folder called venv you will find many other folders, go to the one called scripts, and inside it open a terminal or cmd and type:
activate
- Now you will see a change on the cmd, that lets you know you are running commands on your virtualenv
(the little parenthesis with the venv)
- So after you created a virtual environment you need to activate it, so go to the directory in which you created it, inside a folder called venv you will find many other folders, go to the one called scripts, and inside it open a terminal or cmd and type:
-
Install the library’s for this project
- With your virtual environment activated type the following commands:
- For pygame
pip install pygame - For numpy
pip install numpy - For tensorflow
pip install https://storage.googleapis.com/tensorflow/windows/cpu/tensorflow-1.11.0-cp36-cp36m-win_amd64.whl(you can go to the TensorFlow official website for more info on downloads and installation
-
Run the code!, simply go to the location of your script, with the virtual environment activated and run
python TheNameOfYourFile.py
You are all set, have fun using these examples to learn, they are great ones.
If you want me to change anything or add new examples, you can let me know with an issue.

