Im supposed to create a game with 32 buttons. It consists of a start game button, roll the dice button, 2 'counters' and and 32 buttons that create a 'game board'.
Im utterly confused about the logic im supposed to use to make the 'counter' move across the 'board'/buttons.
(viii) When the Roll the dice button is clicked, it should perform the following actions:
• Simulate the rolling of a dice and place the counter in the correct square. If the position of the counter exceeds Square 32, it will go backwards. E.g. if the counter is on Square 31 and the dice number is 4, it will go backwards and land on Square 29.
• Update the message in the text area to display the game status.
• When the counter lands exactly on Square 32, a message will be displayed to show the completion of the game:
can somebody help explain what im supposed to do, step-by-step ?? just dont write the code for me. i do need help on what i need to declare though.