Skip to content

calvinyueWillTry/Project_1_Group

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pokemon Yellow Online

Description

This is a pokemon selection and battle site that uses pokeApi, Javascript, CSS, local storage and HTML.

Table of Contents

Installation

No installation required. You can access the application by clicking on the following link: Pokemon Online

Usage

To use the application, click on the link provided in the installation section. Once the application is open, click on the "Generate Password" button. You will be prompted to enter the length of the password you would like to generate. You will then be prompted to select the criteria for the password. You can choose to include lowercase letters, uppercase letters, numbers, and special characters. Once you have selected the criteria, the password will be generated and displayed on the screen.

Deployed Application

The deployed application can be accessed by clicking on the following link: Pokemon Online

Screenshot

Pokemon Online

License

MIT License

HTML

Mainpage: We start with the head, and then the links that we are using for everything, from fonts to CSS. At the top of the page, we added links to the Battle and Pokemon selection pages (the pokeball). HTML mainpage 1 Then there's the title in the header, along with links in the navigation bar, as well as the audio in an autoplay loop. We also added the links to the API links that we used for this project as "resources and credits." HTML mainpage 2 At the footer of the page is a link to our Github page, and a link to change to the Pokemon selection page, as well as sourcing the JS page for this. HTML mainpage 3 Pokemon Selection Page: We start with the title in the header, and that's followed by having the "pokemon-list" and "pok-img" to get the Pokemon pictures from the API (in the JS). Then the list of hard-coded spots for allowing the Pokemon to appear on the page are below. HTML Pokemon Selection 1 Every spot for the Pokemon is also hard-coded with an element for the

section, A place on the page for the image, name and description. Because it's an array, the array is also hard-coded, albeit from 1-20 instead of 0-19. At the footer, There are buttons to either navigate to the battle page, or return to the homepage. HTML Pokemon Selection 2 HTML BattlePage: With a font and CSS style, as well as the autoplay loop audio track. For the Pokemon
, within "layer foe," there's "info" for the opponent's Pokemon's name, level and HP, and the "image" for the Eevee. For the "layer player," it starts with the "images" section, first the player's trainer, then switches to their Pokemon. HTML Battle 1 Under "windows," there are window texts to establish fonts, then the "button," which are as follows under "window menu:" "window fight" 4 buttons; "window item" potion (hit points) or cancel, "PKMN" to select other Pokemon, and "Run" to display a message. HTML Battle 2 HTML Battle 3 HTML Battle 4 Underneath those, there is also a button to "Return" to the homepage. In addition, there are sources for the jQuery, audio volume level control, and the JS. HTML Battle 5 JS PokemonSprite: We sourced from 2 API sources: https://pokeapi.co/api/v2/characteristic/ and https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/other/official-artwork.png. We then first fetch and return the blob from array and sprites. JS PokemonSprite 1 Next, we fetch the elements for the Pokemon, including name, image, and description, all of which has to be indexed (some hard-coded into the HTML page instead), to align in sequential order. JS PokemonSprite 2 In addition, there are if statements when there are errors that occur when aligning and/or selecting the Pokemon. JS PokemonSprite 3

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors