From d5f90012fdaf9d155ed3938034e4dc6699168d2f Mon Sep 17 00:00:00 2001 From: caseywatts Date: Sat, 12 Apr 2014 14:36:10 -0400 Subject: [PATCH] update assignment --- classexamples/day8/classassignment.rb | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/classexamples/day8/classassignment.rb b/classexamples/day8/classassignment.rb index 30a1b41..7bd15ab 100644 --- a/classexamples/day8/classassignment.rb +++ b/classexamples/day8/classassignment.rb @@ -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.