Took out some magic numbers, moved one-line functions into header files, and improved encapsulation by removing the friend relationship between the Game and Board classes.