-
Notifications
You must be signed in to change notification settings - Fork 39
Description
We submitted the game to the DehlaPakad Team. Now the game can be run, but it crashes as soon as one loses. Sarthak is still upset as he has so many friends to play the game with that he can not afford to restart the whole game again and again. Pranshu and Priyam were not saying a single word about this issue. But their friend Parshva saw the commit history and found the problem in minutes. He found that the two commits were introduced as bugs intentionally by Priyam and Pranshu. Parshva discussed this with Divyasheel and found a way to solve this.
In this challenge, you are going to learn how to delete random commits.
Here are the tasks
- Create a new branch
challenge6 - Take a look at it's
git log, and attach as screenshot in the report. You can see 2 commits by the namesbug1andbug2 - These commits are bugs in the code, and need to be removed. Remove these commits from the commit history.
Congratulations. You have now successfully created assembled a game. Type these commands and enjoy the game.
pip install -r pygame
python spaceShooter.py
Don't forget to attach a screenshot of the game in the final report ;)
HINT :
You may use git rebase along with drop to delete the commits.