Refactored gamepieces and player