Effective PyCharm (2021 edition) Transcripts
Chapter: Source control
Lecture: Your turn
0:00 Now that you've seen me work with Source control and local history and so on.
0:03 It's your turn. It's time to write some code and get hands on with the
0:08 source control features and the local history features of PyCharm.
0:11 So jump over to the github repository,
0:14 go to the your turn section and then topic number 3.
0:18 Source control. So the idea is we're gonna go and build a basic little high
0:23 level game to create a local git repository,
0:27 make sure you have get installed on your system and then we'll just type git init
0:32 in a folder instead of connecting this back to it.
0:34 Some kind of cloud place like GIT hub or git bucket or git lab.
0:38 We're just going to create a local Git repository.
0:40 And in here we're going to write some code.
0:42 We're going to write this game that basically allows you to guess the number and uses
0:46 was called the binary search algorithm,
0:50 ideally you're going to use the binary search algorithm to play it.
0:52 So I guess a number between 0 and 100 and 50 too low 75 too high.
0:58 You just kind of find your way half between each little segment until you get it
1:02 nailed. Right. Then you're going to check this into your local Git repository as
1:06 well as play with local history.
1:08 So get out there, play with this code,
1:11 Make sure you try out. Do you remember it and you know exactly how it works.