Pokemon-Light with-javascript Example Project

This example project serves as a practical guide to building a Pokemon battle simulator using JavaScript. It demonstrates the creation of a custom app for Pokemon game-play, emphasizing the use of classes for an organized and modular structure.

How to install

To experience the functionality of this project, follow these steps:

  1. Clone this project:

    git clone [project-repository-url]
  2. Set up a local repository:

    cd [project-folder]
    git init
  3. Install npm:

    npm install

Overview

  1. Pokemon Class:
  • Initialize Pokemon with name, health, and skills
  • Manage Pokemon attributes such as magic, form, and crit chance
  1. AttackSkill Class:
  • Define attack skills with name, damage, and attack type:
  1. Evolution and Skills:
  • Evolve Pokemon to new forms using evolvePokemon function
  1. Dynamic Battles: -Simulate battles between Pokemon pairs with the battle function

Customization

To adapt this project for your specific needs, consider the following steps:

  1. Clone the project:

    git clone [project-repository-url]
  2. Rename the project:

    mv [old-project-name] [new-project-name]
  3. Starter JavaScript project: Utilize this project as a foundation for your JavaScript development.

Contribution

Your contributions are highly appreciated! If you encounter issues or have improvements, please follow these steps:

  • Submit an issue: Use the 'Issues' tab above to report any problems or suggest enhancements.
  • Commit fixes: If you're fixing an issue, reference the created issue in your commit message.

Project Status

This project is a dynamic work in progress. While the current version of the simulator/fight is not final, I am working actively working on its development. Stay tuned for exciting updates!