design the API of PlayBoard