1. Brian McKenna
  2. pyweek13


Smooth Jazz Tower Defence ========================= Entry in PyWeek #13 http://www.pyweek.org/13/ URL: http://pyweek.org/e/gradlassians Team: Gradlassians Members: * Brian McKenna * Ian Grunert * Joe Xie * Rupert Shuttleworth * Nathan Wilson License: MIT Sound license: Creative Commons from freesound.org - attributions to: * http://www.freesound.org/people/Synapse/ * http://www.freesound.org/people/a.e/ * http://www.freesound.org/people/simondsouza/ * http://www.freesound.org/people/raggaman/ * http://www.freesound.org/people/freesound/ 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:: python run_game.py 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. Development notes ----------------- 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:: python pyweek_upload.py Upload to the Python Package Index with:: python setup.py register python setup.py sdist upload