https://github.com/aledsz/desafio-explorando-marte
https://github.com/aledsz/desafio-explorando-marte
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/aledsz/desafio-explorando-marte
- Owner: aleDsz
- Created: 2019-12-24T15:58:46.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-12-25T21:27:10.000Z (over 5 years ago)
- Last Synced: 2025-02-23T05:30:38.031Z (4 months ago)
- Language: Elixir
- Size: 10.7 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Desafio: Explorando Marte
## Running
Just run `elixir app.exs`
## How to use?
- Set inputs separated by space
- You can send these type of data:
- `ACTION`
- `X Y`
- `X Y ACTION`
- `X Y DIRECTION`
- `X Y DIRECTION ACTION`## Data types
- **DIRECTION**: Initial direction (N/E/S/W)
- **ACTION**: One or more actions (M/L/R)
- **X**: Coordenate x
- **Y**: Coordenate y