Add macros to get the attribute for a piece.
Add a rudimentary interface for playing the game.