This repository contains Alien Invasion
game from "Python Crash Course".
Clone repo and install requirements.txt in a Python==3.8.3 environment.
git clone [email protected]:MrRiahi/Alien-Invasion.git
cd Alien-Invasion
Python virtual environment will keep dependant Python packages from interfering with other Python projects on your system.
python -m venv venv
source venv/bin/activate
Install python requirements.
pip install --upgrade pip
pip install -r requirements.txt
To play the game, run the alien_invasion.py
.
python alien_invasion.py
Build the alien_invasion docker image with the following command:
$ docker \
build \
--tag alien_invasion \
.
To run the image in a container:
$ docker container run \
-it \
--rm \
--name alien_invasion \
alien_invasion
- Refactor with PEP 8 coding style
- Create a Dockerfile
- Add unit tests
- Add TDD
- Add new features
- Use RL model to learn how to play the game