thryec / pokemon-browser-game

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pokemon

Game Description

This game aims to simulate a Pokemon battle where the player can choose their own Pokemon and battle against the computer.

Game Link

https://thryec.github.io/gaemon/

User Stories

  1. User inputs their name into the start page
  2. User selects up to 3 Pokemon from the deck as their battle characters
  3. User selects which Pokemon they want to start the game
  4. User selects which move to use to attack the Opponent
  5. Opponent will automatically attack once player move has been executed
  6. If player or opponent dies, player has the option to choose their next pokemon for the next round
  7. Game ends when either party has all their Pokemon killed

Technologies

  • HTML
  • CSS
  • VanillaJS for DOM Manipulation
  • AJAX for fetching API data

Components

  • API to fetch Pokemon data (https://pokeapi.co/)
  • Pokemon Class component to generate new Pokemon objects
  • Event listeners allowing users to select Pokemon, moves, etc.
  • Interactive gameplay

Future Improvements

  • Randomly generate Pokemon through the API
  • Add animations using sprite sheet
  • Greater continuity by allowing players to collect points/tokens for each win and purchase potions for their Pokemon.

About


Languages

Language:JavaScript 68.6%Language:HTML 17.6%Language:CSS 13.9%