JSPM

  • Created
  • Published
  • Downloads 52
  • Score
    100M100P100Q49522F
  • License GPL-3.0

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

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

Build Status npm version downloads PRs Welcome

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 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 teachcode init.
  • Navigate to the teachcode-solutions directory.
  • Copy and paste the command as instructed within the initial screen teachcode 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.
  • teachcode submit submits the current solution and gives you the next key to proceed if your solution meets all the test cases.
  • teachcode showkeys shows you all the keys.
  • teachcode showcommands shows you all the commands available for reference.

Available Commands

command description
teachcode init Initializes all the tasks
teachcode fetchtask <key> 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

Demo

asciicast

License

Licensed under GNU General Public License V3.0