Closed brandoningli closed 3 years ago
Related bugs/feature requests
Describe the changes
Add plugin to list and validate code for programming challenges.
Expected behavior
Screenshots
New npm dependencies
piston-client
Testing Instructions
[ ] Create challenges.json in this plugin's folder with the following content:
challenges.json
{ "12345678": { "creator": "302664718038859781", "title": "Hello", "challenge": "Print `Hello\\n`", "input": "", "expected": "Hello\n", "passed": [] } }
[ ] Run node main.js to check code validation with piston against a python fizzbuzz.
node main.js
[ ] Verify the help menus
[ ] Submit code to the active challenge to verify it works correctly.
Additional context
User-submitted challenges and viewing passing submissions within Spike are later feature additions.
Related bugs/feature requests
Describe the changes
Add plugin to list and validate code for programming challenges.
Expected behavior
Screenshots
New npm dependencies
piston-client
v1.0.2Testing Instructions
[ ] Create
challenges.json
in this plugin's folder with the following content:[ ] Run
node main.js
to check code validation with piston against a python fizzbuzz.[ ] Verify the help menus
[ ] Submit code to the active challenge to verify it works correctly.
Additional context
User-submitted challenges and viewing passing submissions within Spike are later feature additions.