- Identify which version of OSX you're using - ideally you should have Yosemite or newer (10.10.x)
- Ensure you've got Xcode installed - https://itunes.apple.com/us/app/xcode/id497799835?ls=1&mt=12
- Ensure that you've uninstalled any antivirus software you may have, as it can prevent some of the tools from installing properly
Log in to Google using your Google account.
Configure your name and email address for commits (be sure to use the email address you have registered with Github). Open up your Terminal and type the following commands:
git config --global user.name "Your Name"
Tonight's homework is to create the Rock, Paper, Scissors, Lizard, Spock game in JavaScript/jQuery, where you play one-v-one against the computer.
The game is an expansion on the game Rock, Paper, Scissors. Each player picks a variable and reveals it at the same time. The winner is the one who defeats the others. In a tie, the process is repeated until a winner is found.
Scissors cuts Paper
Given a set of 20 test scores (each score being out of 100), you are to determine the grade of each score (A,B,C,D, or E).
You then need find number of the scores of each grade as a percentage of the total number of scores e.g. if there are 5 test scores with a grade of B, then this would be 25%.
Finally, you are to display these percentages in the form of a block graph, where each 1% is represented by an asterisk e.g.:
- Identify which version of OSX you're using - ideally you should have El Capitan (10.11.x). If not, upgrade the OS in App Store.
- Install any OS updates displayed in the App Store
- Ensure that you've uninstalled any antivirus software you may have, as it can prevent some of the tools from installing properly
- Add a new class Chicken which only clucks(), and allow the bear to eat it.
- Add a method that returns the names of all the food in the bears belly (use class names)
- Add a check so that if the bear is intolerant to the food when he eats it, he will throw up this item
Feel free to add other animals for practice. You may want to try adding your own interface(s).