pokemon_database_activities
Table of Contents
Pokemon Database Activities
The CSAwesone2 Course has some great activities which may not completely work on a web browser, but it will on an IDE like BlueJ or Eclipse, or else modify the url in Runstone.
Using an IDE
In this case you would have to write a client class to show the
- Make a new Project, and note what directory you created it in.
- Download pokemondb.csv and move it to your project folder
- Copy and paste the the code for Activity 4.6.5 though 4.6.7
- Change filename to
pokemondb.csv
(instead ofpokemon.csv
)
Adapting the url in Runestone
In step 4 after you assign the correct element of the field
array to the String url
, you need to alter url
to point to a jpg file on a different website:
url = url.replace(".png", ".jpg"); // different file type url = url.replace("play.pokemonshowdown.com/sprites/bw", "img.pokemondb.net/artwork"); // different website
pokemon_database_activities.txt · Last modified: 2025/08/01 12:31 by frchris