Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 798 Bytes

README.md

File metadata and controls

26 lines (20 loc) · 798 Bytes

gomoku_python

An example application for experimenting with TDD and refactoring

Setup

You will need to install Python 2.7

virtualenv

virtualenv is a tool to create isolated Python environments. virtualenv creates a folder which contains all the necessary
executables to use the packages that a Python project would need.
$ pip install virtualenv $ mkdir tdd_kurs; cd tdd_kurs $ git clone [email protected]:Softhouse/gomoku_python.git $ virtualenv my_virtenv
$ source my_virtenv/bin/activate

pygame

Install Pygame first to run this program
(virt_env)$ pip install pygame

Running

(virt_env)$ cd app; python main.py

Test

(virt_env)$ python -m unittest test.test_gomoku