A simple web application built with HTML and JavaScript that allows users to simulate battles between Pokémon using the PokeAPI. The app fetches Pokémon data and applies basic battle logic to determine the outcome of battles.
- Fetch Pokémon Data: Retrieve detailed information about Pokémon from the PokeAPI.
- Simulate Battles: Allow users to select Pokémon and simulate battles using basic logic.
- Clone the Repository:
git clone https://github.com/ananichoumchoum/Poke-API.git
- Navigate to the Project Directory:
cd Poke-API
- Open the Application:
- Open
ideas.html
in your preferred web browser.
- Open
- Start the App:
- Open
ideas.html
in your web browser.
- Open
- Select Pokémon:
- Enter Pokémon names or IDs in the provided input fields.
- Battle:
- There will be a display of the battle points. The css was not made for this project yet so everything is very simple
- Endpoint:
https://pokeapi.co/api/v2/type/${typeName}
- Purpose: Fetch Pokémon data including stats, types, and abilities.