Let's begin by reviewing our objective.
Switch back to the 'main' branch. Run the Pong game and inspect the code to confirm that the score limit feature is NOT present, demonstrating that the branches are isolated.
Let's begin by reviewing our objective.
Switch back to the 'main' branch. Run the Pong game and inspect the code to confirm that the score limit feature is NOT present, demonstrating that the branches are isolated.
Next, we'll perform initial verification steps to understand the current state.
You should currently be on the feature/add-score-limit
branch where you implemented the score limit. The specification requires us to switch to the main
branch and confirm the state of the code there.
Now, let's build the solution by following the instructions.
main
using the appropriate command.pong.py
) and look for the score limit logic you added previously on the feature branch.git checkout
or git switch
)main
BranchWith the changes in place, let's re-verify our work to ensure it meets the specification.
To validate, confirm the following:
main
branch should not contain the score limit logic you added on the feature/add-score-limit
branch.If both of these conditions are met, you have successfully demonstrated branch isolation!