Here's the updated code (V6):
Player 1: 0
Player 2: 0
Player 1's Turn
Player 1's Turn
Click inside the 'D' to place the cue ball.
Let me know if this adjustment feels better! We can tweak the cornerPocketRadiusV6 and sidePocketRadiusV6 values further if needed.