https://github.com/vbetsch/mars-rover
πͺ Kata from CodingDojo
https://github.com/vbetsch/mars-rover
ci clean-code ddd eslint jest kata prettier tdd typescript
Last synced: about 2 months ago
JSON representation
πͺ Kata from CodingDojo
- Host: GitHub
- URL: https://github.com/vbetsch/mars-rover
- Owner: vbetsch
- Created: 2025-06-25T16:35:52.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2025-06-30T20:49:57.000Z (12 months ago)
- Last Synced: 2026-04-11T03:36:58.941Z (3 months ago)
- Topics: ci, clean-code, ddd, eslint, jest, kata, prettier, tdd, typescript
- Language: TypeScript
- Homepage: https://codingdojo.org/kata/mars-rover/
- Size: 213 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Mars Rover
Youβre part of the team that make Mars Rover. Develop the simulator program that takes commands and a map, they translate the commands and show the result position and direction of the Rover.
## Requirements
Your program takes in input
* a roverβs starting point (x, y) and the direction (N, S, E, W) it is facing
* a map describing the location of obstacles
* a list of commands to move and turn the rover (β¬οΈ : move forward, β‘οΈ : turn right 90Β°, β¬
οΈ : turn left 90Β°)
When the rover encounters an obstacle, it does nothing.
The map could be described by a string like :
```
π©π©π³π©π©
π©π©π©π©π©
π©π©π©π³π©
π©π³π©π©π©
β‘οΈπ©π©π©π©
```
```
π«π«πͺ¨π«π«
π«π«π«π«π«
π«π«π«π«π«
π«π«π«π«π«
β¬οΈπ«π«π«π«
```
> Extract from https://codingdojo.org/kata/mars-rover/