Up and Running with Git Transcripts
Chapter: Teamwork: Branches
Lecture: v2 of Rock-Paper-Scissors
Login or
purchase this course
to watch this video and the rest of the course contents.
0:00
We have big ideas for version two here. Did you know there are actually more variations of rock paper scissors. Oh yes. You know rock paper scissors.
0:13
But have you heard of rock paper scissors. Spock and lizard. In fact, there's 25 way rps as well,
0:21
which is pretty amazing. There's all these different kinds of rock paper scissors. There's even 101 if you really,
0:28
really want. But I encourage you to go check these out. They are tons of fun. We're not going to do 25 Way Rock Paper Scissors But what if we did?
0:37
There's two. There's two additional players here. We're going to add that as a feature. This is going to be our Premier Version 2.0
0:45
thing that we're going to offer to people. So let's go try to make some room here and add these things.
0:53
So we have rock and we're gonna need to have lizard and Spock. Okay, fantastic. Now we just need to put the rules in for them.
1:05
So I'm going to sort of say All right, well rock defeats lizard. So we'll put lizard in here and lizard defeats Spock.
1:16
So was their defeats Spock. So I'm just going to go through and finish filling out the details here. No reason for you to watch me type them all.
1:26
And then we'll try our version two of the game out. Alright, there it is. I think I have all the details put in here
1:33
correctly. Let's go and play around with our new setup. Look, we have new roles. So we gotta fix the version before I even.
1:42
Go on. Let's not let's not forget about fixing up the version. This is gonna be 2.0 great. So here we have available roles.
1:49
Rock paper scissors, lizard. Spock. What is your role? Oh I can't resist rolling some Spock. The computer rolls paper paper defeats Spock,
2:00
it turns out and so they take the round and I'm gonna bust out the lizard So. Oh no the scissors. The scissors have defeated the lizard.
2:09
It's only logical to play spock again a tie. Oh we have defeated the scissors. We're going straight spock to the end. But we were defeated by paper.
2:20
It is so vexing. Even logic cannot solve paper so we've lost but fine our game is definitely cooler. We want to check that in so we'll check that in
2:35
and say five way rps, push those changes. Good to go now if this is the official version 2 release, let's go over here and do those changes.
2:49
Now notice this is out of sync. Source tree is out of sync. So we can just do a quick pull the really a fetch would be sufficient but
2:57
we can just sort of say do sort of refresh your history here. Okay so again this one now we want to tag this.
3:08
That's version 2.0 you can go over and you can even expand your tags and jump back and forth to them.
3:15
We'll do that in a little bit but we and go over here and see your tags. We can see them in this history, we can see them on, git hub.
3:22
So we're tagging our releases. We're good to go so far everything is good right.