Skip to content

carlarsmendes/IH-PreW-JS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My Ironhack pre-work project - The Javascript Module

This is the repository of my pre-work for the Ironhack Web Dev bootcamp - Coding a rover.

----Mars Rover Kata----

THe pre-work was a pre-requisite to enter the Ironhack bootcamp.

-----Instructions-----

The final pre-work for the bootcamp consisted completed the following steps:

  • Create an object called rover
  • It should have the following properties: direction x and y
  • Create the functions turnLeft() turnRight() moveForward() moveBackwards()
  • Create a function that receives a list of commands
  • Add a property called travelLog() which will track the movements of the rover
  • BONUS: Make sure your rover stays inside the limits of your 10x10 grid
  • BONUS: Bring your rover to life

---Major challenges---

  • Took me a while to figure out the switch function and how to get passed not being able to visualize the rover
  • The pre-work didn't include DOM manipulation so I had to do it by myself and with Google's help - Wasn't easy but it was an amazing challenge
  • The Object oriented train of thought was hard to get into
  • The amount of code and how to organize myself
  • Not knowing yet very well how to manage Ubuntu, Visual Studio Code, and debug.

---Improvements for the future---

  • Would like to create a class called rover so that the creation of more rovers was possible
  • Apparition of random objects
  • Gamification of some sort
  • Improve the quality of the code

---Technologies used---

  • HTML5
  • CSS3
  • JavaScript

---Unsolved problems---

All questions and challenges were answered. However, I'm still struggling with:

  • Correct the bug of not having the animation from 0,0 to 0,1, etc
  • Making it responsive - Almost there, should've used the mobile-first approach

Thank you for reading!!!

About

This is the Javascript Module of my Pre-Work

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors