pieces extend from a piece definition. clicking a piece logs its actions and other properties.