/mars-rover

Emana Group test emulating a Mars Rover.

Primary LanguageJavaScript

Mars Rover

This is a Mars Rover simulation. You input the rover' first position, tell it which moves it will do and hit 'Send Moves' button. After it, the page will print the final position of Mars Rover!

Example:

mars-rover

Requirements

  • XAMPP (or any another MySQL Server software running)
  • Node (most recent version)

Setup

Open your terminal on an empty folder and run the following commands:

git clone git@github.com:joaoefornazari/mars-rover.git .
npm install
adonis migration:run // Before running this command, start a MySQL server on port 3306

This will install all the project's dependencies and prepare the project environment on your machine.

After this, to run the project, run

node server.js

and access http://localhost:3333 on your web browser.