The list of all the solutions can be found here
- Typescript configuration
- Jest with debugging
The problem function should have documentation as per the description at checkio.org
The 2 types of files to be interacted are:
- Puzzles
- Tests
// {{ description }}.puzzle.ts
/**
* # Name of the problem
*
* ## Description
* Description of the problem
* Lorem ipsum dolor sit amet consectetur, adipisicing elit. Tempore,
* debitis! Nulla quia commodi amet maiores sequi vitae itaque illo a
* libero, quod minus debitis rem, sint aperiam saepe doloribus nostrum?
*
* ---
*
* ## Input
* Description of the input.
*
* ---
*
* ## Output
* Description of the output.
*
* ---
*
* ## Example
*
* ```ts
* // example as per the description at `checkio.org`
* ```
*
* ---
*
* ## How is it used
* Statements in `How is it used` (optional)
*
* ---
*
* ## Precondition
* Statements in `Precondition` (optional)
*
* @param params Parameters
* @returns Description of returning value
*/
function problem(...params: Parameters): Type<Return> {}
Test using Jest
- Set breakpoints
- Hit
F5
Event | Message |
---|---|
Problem Entered | ➕ {{ station }} -#{{ number }} added |
Problem Solved | ✔️ {{ station }} -#{{ number }} solved |
Problem not solved | ➖ {{ station }} -#{{ number }} not solved |
Problem in progress | 🚧 {{ station }} -#{{ number }} in progress |
All Solutions | ✨ {{ station }} -#{{ number }} solutions |
Workspace Configuration | ** varies ** |
Update README.md |
📝 updated README |
©️ usama251993