Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Task 7 : Ultimatum #7

Open
CodingWarrior33 opened this issue Mar 17, 2023 · 0 comments
Open

Task 7 : Ultimatum #7

CodingWarrior33 opened this issue Mar 17, 2023 · 0 comments

Comments

@CodingWarrior33
Copy link
Collaborator

CodingWarrior33 commented Mar 17, 2023

Welcome to D-Day!!!

This is it!! You now have the golden opportunity for liberating everyone from this reign of terror .

As you gear up to hack the Ultimate Kingpin himself , a single message pops up across your screen. You realise that the message is from HackerDB. It warns you:

Hacker Beware, you are in for a Scare !!!

Hacks-Set 1

  • Create a branch "Ultimatum".
  • Apply the stashed changes to this new branch. Add and commit all the changes to this branch.
  • Make sure the stash list is empty.
  • Add a file win.txt with the word "WE WIN!!!!"
  • Add a file acceptanceofdefeat.txt and add
I accept my defeat. -Behru and Deanu
  • Install Pygame with
pip install pygame
  • Run the game (from VSCode)

Setback 1

You realise the game file has been corrupted. The IP Addresses of all individuals is the same. CHANGE THESE ADDRESSES to random IP Addresses and make changes to the attendance values.

RECOVERY : Correct the code and make the game run. Don't Forget to change your attendance

Hacks-Set 2

  • Google
  • Generative Pre-Trained Transformers
  • StackOverflow

With the game up and running , you finally are on the verge of realising the dreams of millions of youngsters.
You now proceed to finally commit and push the changes and make a final PR.

Hacks-Set 3:

  • Make sure the game is up and running.
  • Make sure you have changed everyone's attendance to be above 90.
  • Make sure you have the win.txt file with proper changes
  • Make sure you have acceptanceofdefeat.txt with proper changes.
  • Make a final commit and push the changes to your current branch ultimatum

Message of Truce

As you get ready to send a final PR, you receive a message:

I REQUEST YOU FOR AN URGENT DECLARATION OF TRUCE: BEHRU

I HAVE UNDERSTOOD MY MISTAKES. PLEASE HELP ME AMEND THEM BY FETCHING & MERGING FROM UPSTREAM

"ACCEPTANCE OF DEFEAT" ATTACHED IN UPSTREAM "ULTIMATUM" BRANCH

Hacks-Set 4:

  • Now use the fetch command and fetch the "ultimatum" branch from upstream.
  • Accept the truce by merging the changes into your Ultimatum branch.

Setback 2

You realise Behru's pulling up his final tricks. He has all his guns blazing.

You receive a MERGE CONFLICT. This means you have to manually go through the lines of code and select which lines of code to retain. With no one to help you out you look at this video to help you out.

RECOVERY: Check the AttendanceFinal.py files and win.txt file for resolving the conflicts.

FINAL UPDATE - MERGE FOR THE WIN

  • Merge from upstream to Finally defeat the Kingpin.
  • Attach the required screenshots in the document file and convert to a PDF format.
  • Add and Commit accordingly
  • Make a final PR to WIN ONCE AND FOR ALL !!!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants