Add a Script to the Board Node
Add variables to track the scores:
Name these player_points and enemy_points
Select the LeftGoal in the Scene Tree
Double-Click the point_scored() signal
Rename the function to _on_enemy_scored
Repeat for the Right Goal...
Select the RightGoal in the Scene Tree
Double-Click the point_scored() signal
Rename the function to _on_player_scored
Create a function to reset the state of the game
Paddles return to start locations
Ball returns to the centre
Code the _on_enemy_scored signal
Update the points for the enemy
Update the User Interface
Repeat this when the player scores.
Now that the game is functional add some polish.