Skip to content

MrRiahi/Alien-Invasion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Alien_Invasion

This repository contains Alien Invasion game from "Python Crash Course".

Install

Clone Repository

Clone repo and install requirements.txt in a Python==3.8.3 environment.

git clone [email protected]:MrRiahi/Alien-Invasion.git
cd Alien-Invasion

Virtual Environment

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

Requirements

Install python requirements.

pip install --upgrade pip
pip install -r requirements.txt

Run

To play the game, run the alien_invasion.py.

python alien_invasion.py

Docker

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

TODO

  • 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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published