- About
- How To Play
- Installing
- Running
- Log Files
- Authors
- Acknowledgments
- Built Using
- License
- Version History
A JS canvas-based Mars Rover Simulator written in JavaScript (Node.js).
Deployments |
---|
Play Live on GHPages |
Play Live on Netlify |
Just clone the repo and inside the main directory install it:
git clone https://github.com/andresmweber/ironhack-mars-rover-kata
cd ironhack-mars-rover-kata
npm install
Now you can run it with either
node index.js
or
npm run-script play
Feel free to just hit Enter
twice and run the game in default mode (you can read the defaults on the prompts).
After running the simulation it will always generate a log file you can look at to see the steps and travel log in more detail.
The filename is in the format: roverLog_DD-MM-YYYY_HH-MM-SS.log
and you will find it in the directory you ran the script from.
Here is an example log file generated from the gif above.
Notice the travel map at the end which shows you the path they've taken. Note that it will not show you if the rover has been over a spot multiple times, just shows the path with overlaps.
- Tania Rascia I used her Snek.js game as a template for the v2 ui/terminal based blessed rendering.
- NodeJS - Web Server
- JavaScript - Front End
- SCSS - Styling
- Webpack - Asset Bundling
- Piskel - Pixel Art Creation
This project is open source and available under the MIT License.