Git Product home page Git Product logo

explorer-in-mars's Introduction

Explorer in Mars

A robotic traveler is positioned on the surface of the Mars planet by NASA.

This rectangular surface is displayed with the help of the camera on the robotic navigator and sends these images to the world.

The position of the robotic navigator are indicated by the x-y coordinates and the direction letters in the compass (N, W, S, E).

A 0.0, N position for the robotic traveler indicates that the direction of the rectangular surface is at the lower left corner and the direction is north.

NASA sends a string of letters to control the robotic explorer.These letters are ’L‘, ’R‘ and ler M which rotate 90 degrees to the left or right without moving the robotic navigator and camera.

Letter M let is a step forward in the direction of the robotics navigator.

It is assumed that the robotic traveler goes 1 step in the direction of north (N) when it is located in the coordinate (x, y + 1) from (x, y).

Getting Started

This project writng by c#,winform and used OOP principle

Just download the project and start it.

Test Input:

5 5
1 2 N
LMLMLMLMM
3 3 E
MMRMMRMRRM

Expected Output:

1 3 N
5 1 E

explorer-in-mars's People

Contributors

ahmetunge avatar

Stargazers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.