You have already asked about creating this backgammon game before.
Asking small incremental questions, each one based on the answer given in the previous game will not enable you to do this project.
You need to go back to first principles and get a grounding.
In the meantime, start here.[
^]