Skip to content

Commit

Permalink
update assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
caseywatts committed Apr 12, 2014
1 parent 4ba839a commit d5f9001
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions classexamples/day8/classassignment.rb
Original file line number Diff line number Diff line change
@@ -1,21 +1,24 @@
#1. What is the first pokemon in our database? Our last one?


#2. Find all pokemon that are GHOST type.
#2. Are any pokemon palindromes? If so, which ones?


#3. Are there more pokemon with even pokemon numbers who are GRASS type or who are FIRE type?
#3. Find all pokemon that are GHOST type.


#4. Try to defeat Charizard. Find a pokemon with special attack (sp_attack) greater than 78 and whose type is water.
#4. Are there more pokemon with even pokemon numbers who are GRASS type or who are FIRE type?


#5. Pokemon can no longer have over 100 health (hp). Update any pokemon who has health greater than 100 to have only 99 health (hp).
#5. Try to defeat Charizard. Find a pokemon with special attack (sp_attack) greater than 78 and whose type is water.


#5. Make a new pokemon. What attributes are necessary? What attributes do you want to make sure you put in?
#6. Pokemon can no longer have over 100 health (hp). Update any pokemon who has health greater than 100 to have only 99 health (hp).


#6. Everyone hates Jigglypuff. Remove that pokemon from the database (and existance!). Make sure it's not just removed from Rubyland, but also from Databaseland.
#7. Make a new pokemon. What attributes are necessary? What attributes do you want to make sure you put in?


#8. Everyone hates Jigglypuff. Remove that pokemon from the database (and existance!). Make sure it's not just removed from Rubyland, but also from Databaseland.


0 comments on commit d5f9001

Please sign in to comment.