Smooth Jazz Tower Defence
Entry in PyWeek #13 http://www.pyweek.org/13/
- Brian McKenna
- Ian Grunert
- Joe Xie
- Rupert Shuttleworth
- Nathan Wilson
Sound license: Creative Commons from freesound.org - attributions to:
Running the Game
On Windows or Mac OS X, locate the "run_game.pyw" file and double-click it.
Othewise open a terminal / console and "cd" to the game directory and run:
If you're using a 64-bit version of Mac OS X, you might need to run the game like so:
VERSIONER_PYTHON_PREFER_32_BIT=yes /usr/bin/python run_game.py
How to Play the Game
This is a tower defence game with a twist: creeps mutate! The game uses a genetic algorithm to select the best creeps and breed them together. A little bit of mutation is thrown in for a bit of spice, just like in evolution.
For both creeps and turrets, colours signify the specialties:
- Red: health
- Blue: armour
- Green: speed
A good first strategy is to place one of each turret at the start of the map.
To place a turret, click its icon from the right side of the screen. Hover your cursor over a bright red square and click.
Sit back, relax and let the smooth jazz sooth your soul.
Creating a source distribution with:
python setup.py sdist
You may also generate Windows executables and OS X applications:
python setup.py py2exe python setup.py py2app
Upload files to PyWeek with:
Upload to the Python Package Index with:
python setup.py register python setup.py sdist upload