completed implementation of pygame board