An environmentally-friendly puzzle game, created for Ludum Dare 23
Python
Switch branches/tags
Permalink
Failed to load latest commit information.
images Some initial polishing Apr 22, 2012
music Add music Apr 22, 2012
README.md Add image to the README Aug 2, 2013
think-green.py Fix crash when the grid becomes full Apr 23, 2012

README.md

Think Green is an environmentally-friendly puzzle game written using Python 2.7 and Pygame. See below for installation instructions.

Gameplay tips

  • Score points by neutralizing hazards.
  • Chain up recycles in front of receptors to get extra combo points!
  • Survive for as long as possible.

Screenshot

Think Green gameplay

Installing and running the game

To run Think Green, you need two thing installed:

  • Python 2.7 – Python is a general-purpose programming language. Python is installed by default on almost every Linux distribution, but if you use Windows or Mac OS you'll probably need to install it yourself. Just head on over to http://www.python.org/download/ and grab the Python 2.7 installer for your operating system.

  • Pygame – Pygame is a library (pre-packaged code) that makes it easier to program games. If you use a Linux operating system, your distribution probably has a package for Pygame. If you're using Windows or Mac, head to http://www.pygame.org/download.shtml and grab the correct installer for your operating system. (Make sure it's one that has "py2.7" in the filename.)

You can test whether Pygame is installed correctly by opening the Python interpreter and typing

>>> import pygame

If this doesn't print any errors, then you should be good to go.

Once you have Python 2.7 and Pygame installed, you need to obtain the Think Green game files. If you know how, just clone this repository. Otherwise, download a .zip archive of the repository using this link

https://github.com/kalgynirae/thinking-green/zipball/master

and extract the files to an easy-to-access folder.

Run the game by executing think-green.py with Python. On Linux or Mac OS, you can open a terminal, navigate to the folder containing think-green.py, and type

python think-green.py

On Windows, you can probably just double-click the file to run it.

License

This game and all included files (code, images) are copyright 2012 Colin Chan and released under the GNU General Public License. See http://www.gnu.org/licenses/ for more information.

The included music files are released under a Creative Commons Attribution-ShareAlike 3.0 Unported License.