Currently, the play button remains active even when the coins are flipping, allowing users to trigger multiple flips simultaneously, which can cause unexpected behavior. The goal is to disable the play button while the animation is in progress to enhance the game experience.
Tasks:
Add logic to disable the play button when a flip is initiated.
Ensure the button is re-enabled once the flipping animation is complete.
https://github.com/Xhz0729/techtonica-assignments/blob/27791615623ab77b3d6b8b8e3ff9691366b26ae8/Flip-coin/index.html#L25
Currently, the play button remains active even when the coins are flipping, allowing users to trigger multiple flips simultaneously, which can cause unexpected behavior. The goal is to disable the play button while the animation is in progress to enhance the game experience.
Tasks: Add logic to disable the play button when a flip is initiated. Ensure the button is re-enabled once the flipping animation is complete.