This is going to be a simple JavaScript "game" where you can issue commands to rocket ship to launch
, move
, and rotate
a rocket ship using JavaScript + HTML/CSS.
- Have a text editor
- Sublime
- Atom
- Vim
- Have Git Working
- Refer to our intro-git workshop if you need to get setup
- Feel free to ask mentor if you need help
- Turn onDeveloper Tools in your Browser
- Google Chrome:
- Safari:
- Firefox:
- Clone this repository:
git clone https://github.com/dvcoders/intro-js
cd
intointro-js
then1-beginner-js
- Work along with the live coding
cd
into your intro-js directory- Run
git status
. - If it doesn't say
nothing to commit, working directory clean
:
git add -A
to add the files you've changed- and
git commit -m "finished rocketship workshop"
- and
git push origin master
to push those changes (assuming you are on branch master) - Now all your work from the last workshop is on github!
- Make sure you're on
master
, you can check withgit status
- If needed,
git checkout master
- Now you should set "upstream" to track the dvcoder's intro-js repostiory:
git remote add upstream https://github.com/dvcoders/intro-js.git
git fetch upstream
- This fetches the new changes added to the intermediate-js folder in the dvcoder's intro-js repository
- It places the changes in branches called upstream/[branch-name]
git merge upstream/master
to merge the changes to your master branch
- Github goes into detail about this process here