Skip to content

Instantly share code, notes, and snippets.

View jwillker's full-sized avatar
:octocat:
...

Jhonn W. Frazão jwillker

:octocat:
...
View GitHub Profile
@jwillker
jwillker / tetris.py
Last active August 29, 2015 14:27 — forked from silvasur/tetris.py
Tetris implementation in Python
#!/usr/bin/env python2
#-*- coding: utf-8 -*-
# NOTE FOR WINDOWS USERS:
# You can download a "exefied" version of this game at:
# http://kch42.de/progs/tetris_py_exefied.zip
# If a DLL is missing or something like this, write an E-Mail (kevin@kch42.de)
# or leave a comment on this gist.
# Very simple tetris implementation
import argparse
import urllib.request
import os
import img2pdf
from os import walk
from os.path import join
from bs4 import BeautifulSoup
work_dir = os.path.dirname(__file__)