Problem statement: Chandrayaan 3 Spacecraft Control Program using TDD
The program provides the following functionalities:
- Move the spacecraft forward/backward (f, b).
- Turn the spacecraft left/right (l, r).
- Turn the spacecraft up/down (u, d).
- Node.js and NPM (Node Package Manager)
- Clone the project:
git clone https://github.com/malaviya-parth/Chandrayaan_3_TDD_Assessment.git
- Navigate to the project directory:
cd Chandrayaan_3_TDD_Assessment
- Install the dependencies:
npm i
- Run the tests:
npm test
- Run the project:
npm start
- Enter Initial Direction
- Enter commands
The good thing about TDD is it helps you to think about the problem before you start coding.
- It also helps you to think about the edge cases and write test cases for them.
- It also helps you to think about the design of the code.
- It also helps you to think about the naming of the methods and variables.
- This project is licensed under the MIT License - see the LICENSE file for details.