pysandX Code
Status: Beta
Brought to you by:
prsn828
| File | Date | Author | Commit |
|---|---|---|---|
| Element_Template.py | 2010-02-23 | prsn828 | [r1] First commit |
| README.txt | 2010-02-23 | prsn828 | [r1] First commit |
| constants.py | 2010-02-23 | prsn828 | [r1] First commit |
| elementGrabber.py | 2010-02-23 | prsn828 | [r1] First commit |
| element_sand.py | 2010-02-23 | prsn828 | [r1] First commit |
| fire.py | 2010-02-23 | prsn828 | [r1] First commit |
| plant.py | 2010-02-23 | prsn828 | [r1] First commit |
| pysand.py | 2010-02-23 | prsn828 | [r1] First commit |
| spout.py | 2010-02-23 | prsn828 | [r1] First commit |
| wall.py | 2010-02-23 | prsn828 | [r1] First commit |
| water.py | 2010-02-23 | prsn828 | [r1] First commit |
***pysand, and all the related files, were written entirely by Neil Drummond (aka: prsn828)***
To play, run pysand.py
To add new elements, open elementGrabber.py and follow the instructions in the doc_string.
To see what the basics of an element are, and to get started making a new one, look at the ElementTemplate.py file.
To see an example of a working element, look at any of the elements already made.
To find out what methods elements may use, type:
from pysand import Element
dir(Element)
This will display all of the methods and objects defined by the Element class.
Most of these have extremely detailed doc_strings, and should work in normal situations.