Code Monkey home page Code Monkey logo

pokemon-type-weakness-calculator's Introduction

Pokemon Type Weakness Calculator


This web application calculates the type multipliers for types of Pokemon. It takes two Pokemon types as input and provides a list of multipliers based on their strengths and weaknesses. Know a Pokémon's Weak Against Types

Purpose

Understanding type multipliers is crucial in Pokemon battles, as they affect the effectiveness of attacks. This calculator simplifies the process of determining the multipliers for Pokemon-type.

Data

Types 0.5x 2x
Bug Fighting, Grass, Ground Fire, Flying, Rock
Dark Dark, Ghost, Psychic Bug, Fairy, Fighting
Dragon Electric, Fire, Grass, Water Dragon, Fairy, Ice
Electric Electric, Flying, Steel Ground
Fairy Bug, Dark, Dragon, Fighting Poison, Steel
Fighting Bug, Dark, Rock Fairy, Flying, Psychic
Fire Bug, Fire, Fairy, Grass, Ice, Steel Ground, Rock, Water
Flying Bug, Fighting, Grass, Ground Electric, Ice, Rock
Ghost Bug, Fighting, Normal, Poison Dark, Ghost
Grass Electric, Grass, Ground, Water Bug, Fire, Flying, Ice, Poison
Ground Electric, Poison, Rock Grass, Ice, Water
Ice Ice Fighting, Fire, Rock, Steel
Normal Ghost Fighting
Poison Fairy, Fighting, Grass, Poison, Bug Ground, Psychic
Psychic Fighting, Psychic Bug, Dark, Ghost
Rock Fire, Flying, Normal, Poison Fighting, Grass, Ground, Steel, Water
Steel Bug, Dragon, Fairy, Flying, Grass, Ice, Poison, Psychic, Rock, Steel Fighting, Fire, Ground
Water Fire, Ice, Steel, Water Electric, Grass

Usage

  1. Select the first Pokemon type from the dropdown.
  2. Select the second Pokemon type from the dropdown.
  3. Click the "Calculate Multipliers" button to see the type multipliers.

Alternate Usage (with help of query strings)

  1. The url https://yashrajbharti.github.io/Pokemon-Weakness-Calculator can detect query string and give the results.
  2. For example, writing /?type1=normal&type2=none after the url will show results for normal type multipliers.
  3. Similary we can specify type1 and type2 to get the results directly in the url.
  4. Lastly if you do not add type2 for a single-type Pokémon, it will automatically default to none

Contributing

Contributions are welcome! If you have suggestions, improvements, or new features to add, please follow these guidelines:

  1. Fork the repository.
  2. Create a new branch for your feature: git checkout -b feature-name.
  3. Commit your changes: git commit -m 'Add new feature'.
  4. Push to the branch: git push origin feature-name.
  5. Submit a pull request.

License

This project is licensed under the MIT License - see the LICENSE.md file for details.


©2024 yashrajbharti Github

pokemon-type-weakness-calculator's People

Contributors

yashrajbharti avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

pokedex100

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.