Skip to content

A tool to develop and improve a student’s programming skills by introducing the earliest lessons of coding.

License

Notifications You must be signed in to change notification settings

coder9604/teachcode

 
 

Repository files navigation

Build Status npm version downloads PRs Welcome

Teach-Code

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 provided with 30 tasks guiding them through the basic constructs of a preferred programming language. He/she gets a key to access the next task if the current task meets all the test cases. There is also the provision to revisit previously submitted tasks, but it can't be worked on again.

  • Navigate to a directory of your choice and fire in teach-code init.
  • Navigate to the Teach-Code-solutions directory.
  • Copy and paste the command as instructed within the initial screen teach-code fetchtask <key>.
  • Hurray 👍 you've got your first task.
  • Write your solution within a file that is auto-created. For instance, task<task_number>.py for Python.
  • teach-code submit submits the current solution and gives you the next key to proceed if your solution meets all the test cases.
  • teach-code showkeys shows you all the keys.
  • teach-code showcommands shows you all the commands available for reference.

Available Commands

command description
teach-code init Initializes all the tasks
teach-code fetchtask <key> Fetches the task correponding to key provided
teach-code submit Submits the current task
teach-code showkeys Shows all the keys grabbed
teach-code showcommands Lists all the available commands

Demo

asciicast

License

Licensed under GNU General Public License V3.0

About

A tool to develop and improve a student’s programming skills by introducing the earliest lessons of coding.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 84.0%
  • Python 16.0%