Create placePiece function for easier game creation