Coder Social home page Coder Social logo

rover's Introduction

Welcome to the Rover!

Running Rover

Place the instruction data into a .txt file and place that file in the /data directory. When prompted, use ./data/file_name.txt to use that data. If you do not use your own test data, the default test data file will be used.

cd into rover

bin/rover

OR

cd into rover

rake test

Assumptions

  1. Two or more rovers can occupy the same space (same coordinates), which means an infinite number of rovers can be deployed.
  2. All the input data will be well-formed and without error.
  3. A rover cannot exit the plateau, and when it reaches a boundary, every move that causes it to collide with the boundary is ignored.

Notes & FAQ

  1. No tests have been written.
  2. Test data has been provided.
  3. Should it run on a command line? Well, if this was REALLY a console to deploy Mars rovers, definitely not!
  4. How does it receive input? The data is read from a .txt file, and the other input is by keyboard.
  5. Can I connect to it through TCP connection using telnet? Nope!
  6. Can I view the rover's position in a grid at the start or end of a program run? Not a the moment. However, the rover's initial and final positions (as well as every movement) are transmitted.

rover's People

Contributors

mokhatla avatar

Watchers

 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.