Skip to content

My take on a Pokemon-themed clicker game. This game was inspired by games like Cookie Clicker, Clicker Heroes, and Pokemon.

Notifications You must be signed in to change notification settings

rJefferyXie/heropokemon

Repository files navigation

HeroPokemon

Welcome to my take on a Pokemon-based clicker game. This game was inspired by games such as Cookie Clicker, Clicker Heroes, and Pokemon.

Check it out here! https://heropokemon.web.app/

Table of Contents

About

  • This is an incremental / clicker game created by me that is built using modern web techologies, drawing inspiration from other games such as Runescape, Cookie Clicker, Clicker Heroes, and Pokemon.

Images

Home Page Regions Page Region Selection Game Screen

Technologies

  • NextJS - Used to create static HTML files for website hosting, along with several useful features such as image optimization, which greatly reduced loading times for large images.
  • Google Firebase - Used to host the website and store the pokedex information using Cloud Firestore.
  • TypeScript - Used to add type support to components for better readability and usability.
  • Redux - Used to centralize and share state between components, removing the need for prop drilling.
  • Framer Motion - Used to seamlessly create and add animations to React components.
  • Github Actions - Created a CI/CD pipeline to automate the deployment of my project and code.
  • Cypress - Created several integration and end-to-end tests to simulate a real user using the website.
  • MaterialUI - A library of pre-built production-ready React components.
  • SASS - Used for styling the website.

File Structure

  • .github Directory
    • Contains the continuous integration (currently disabled) and continous deployment workflows for Github Actions.
  • Animations Directory
    • Contains animations built for certain components using Framer Motion.
  • Components Directory
    • Contains reusable React components.
  • Constants Directory
    • Contains data objects that do not change such as shop items, abilities, type advantages, and more.
  • Cypress Directory
    • Contains the E2E tests used for testing the most important components of the application.
  • Game Functions Directory
    • Contains commonly used game functions to reduce file size in React components or NextJS pages.
  • Interfaces Directory
    • Contains the TypeScript interfaces that are used throughout the application.
  • Pages Directory
    • Contains the NextJS pages (routes) for the application such as /index and /game.
  • Public Directory
    • Contains image assets used in the application, pokemon facts, and the favicon.
  • Store Directory
    • Contains the redux store along with its actions and reducers.
  • Styles Directory
    • Contains all the SCSS files for the entire application.

Regions

  • Kanto
    • Red and Blue (Yellow)
    • FireRed and LeafGreen
    • Gold and Silver (Crystal)
    • HeartGold and SoulSilver
  • Johto
    • Gold and Silver (Crystal)
    • HeartGold and SoulSilver
  • Hoenn
    • Ruby and Sapphire (Emerald)
    • Omega Ruby and Alpha Sapphire
  • Sinnoh
    • Diamond and Pearl (Platinum)
  • Unova
    • Black and White
    • Black 2 and White 2
  • Kalos
    • X and Y
  • Alola
    • Sun and Moon
    • Ultra Sun and Ultra Moon

Sources

About

My take on a Pokemon-themed clicker game. This game was inspired by games like Cookie Clicker, Clicker Heroes, and Pokemon.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published