|
7 | 7 | Users are required to solve 30 tasks that take them through the basic constructs of the programming language of their choice. The tasks are designed in such a way that the complexity increases as users progress through the tasks. Users can't move forward until the current task is completed (since the progress is determined by a unique key that is generated upon successful completion). Previously submitted tasks can be viewed as desired by the user but can't be worked on again.
|
8 | 8 |
|
9 | 9 | - `teachcode` expects you to have a GitHub account. Make sure that you create one if that's not the case.
|
10 |
| -- Navigate to the directory of your choice and type in `teachcode init`. |
11 |
| -- Follow the instructions as prompted. |
12 |
| -- Now type in `cd teachcode-solutions`. |
| 10 | +- Navigate to the directory of your choice and type in `teachcode init`. After typing the command, the following window would appear in your terminal |
| 11 | + |
| 12 | +<br /> |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | +<br /> |
| 17 | + |
| 18 | +- Select the language of your choice and follow the instructions as prompted. |
| 19 | + |
| 20 | +<br /> |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | +<br /> |
| 25 | + |
| 26 | +- After entering your Github user token, you would get the following screen. Now type in `cd teachcode-solutions`. |
13 | 27 | - Grab the initial key and type in `teachcode fetchtask <key>`.
|
| 28 | + |
| 29 | +<br /> |
| 30 | + |
| 31 | + |
| 32 | + |
| 33 | +<br /> |
| 34 | + |
14 | 35 | - Hurray :tada: , you've got your first task.
|
15 | 36 | - Now you can find a `config.json` and `task1.py` (language of choice) file within the `teachcode-solutions` directory.
|
| 37 | + |
| 38 | +<br /> |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | +<br /> |
| 43 | + |
16 | 44 | - Open up your favorite editor and code up the solution.
|
| 45 | + |
| 46 | +<br /> |
| 47 | + |
| 48 | + |
| 49 | + |
| 50 | +<br /> |
| 51 | + |
17 | 52 | - Now type in `teachcode submit`.
|
18 | 53 | - Enter your Git credentials when prompted.
|
19 | 54 | - If the current solution satisfies all test cases, you'll get the key to proceed farther.
|
20 |
| -- Grab the key and type in `teachcode fetchtask <key>`. |
| 55 | +- Grab the key and type in `teachcode fetchtask <key>`. |
| 56 | +- Solve all 30 question, to complete the task |
| 57 | + |
| 58 | + |
| 59 | +*In case you forget your key, just type in `teachcode showkeys` to see the list of all keys* |
| 60 | +- That's all folks, good luck :+1: |
| 61 | + |
| 62 | + |
| 63 | + |
0 commit comments