HackPack for VandyHack's workshop about Open Source on March 12th. Credit to https://github.com/wayou/t-rex-runner for source code.
A project is 'open source' if:
- source code is freely available to the public
- source code can be copied, modified, and redistributed by anyone
A system that records changes made to a project over time and stores previous or multiple states. Think of a Google Doc as an open source project: every time a change is made to the document, it is immediately saved and recorded in the version history of the document. This is an example of version control.
Version control allows contributors to:
- backup and restore earlier versions of source code
- track changes made to source code over time
- track ownership of changes (who changed what) in collaborative projects
- stay up-to-date on the latest version of a project (especially useful for collaborative projects)
- Git: a locally installed version control tool for managing and tracking source code history during software development
- GitHub: a cloud-based hosting service for Git repositories with collaborative features
$ git clone https://github.com/link_to_the_repo.git
- download a copy (or clone) an existing repository to your computer$ git add <file-name>
- mark any changes to files in the repository as ready to be committed (or stage changes)$ git pull
- download latest information from the remote/original repository (i.e. new branches) & integrate all new commits made to the remote repository into local repository$ git commit -m “commit message”
- commit and save staged changes locally (in your cloned repository)$ git push
- upload (or push) cloned/local repository to the remote/original repository
- Changing the image of the dinosaur (change the runner to pink!). Hint: assets/dino-100.png, and assets/dino-200.png are the correct assets.
- Jumping / changing constants
- Change the speed, etc.
- Hide the score
- Change the sound that is played when player reach 100 points
- BE CREATIVE!!