Package Exports
- teach-code
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (teach-code) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
teachcode
A tool to develop and improve a student’s programming skills by introducing the earliest lessons of coding.
Installation
npm install -g teach-code
How to use
The user is required to solve 30 tasks which takes him/her through the basic constructs of a programming language of choice. The tasks are such that the complexity goes on increasing based on the user progress. Also, he/she can't move forward unless the current task is completed since the progress is governed by a unique key that gets generated on successful completion. Previously submitted tasks can be viewed as required by the user but can't be worked on again.
- It expects you to have a GitHub account. Make sure that you create one if that's not the case.
- Navigate to a directory of your choice and type in
teachcode init
. - Follow the instructions as being prompted.
- Now type in
cd teachcode-solutions
. - Grab the initial key and type in
teachcode fetchtask <key>
. - Hurray 🎉 you've got your first task.
- Now you can find a
config.json
andtask1.py
(language of choice) file within theteachcode-solutions
directory. - Open up your favourite editor and code up the solution.
- Now type in
teachcode submit
. - Enter your Git credentials when prompted.
- If the current solution satisfies all test cases, you'll get the key to proceed with.
- Grab the key and type in
teachcode fetchtask <key>
.
Available Commands
command | description |
---|---|
teachcode init | Initializes all the tasks |
teachcode fetchtask |
Fetches the task correponding to key provided |
teachcode submit | Submits the current task |
teachcode showkeys | Shows all the keys grabbed |
teachcode showcommands | Lists all the available commands |
Contributing
Contributions of any kind are welcomed. Make sure that you go through these guidelines
License
Licensed under GNU General Public License V3.0