Skip to content

ZQ-Dev8/nrgen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pokémon TCG Energy Selector

A simple web application to help streamline Pokémon Trading Card Game sessions by randomly drawing energy cards based on the distribution in your deck.

About This Project

This was a simple pet project I slapped together to understand the capabilities of modern code assistants while creating something useful for my kids' Pokémon TCG games. It's a practical tool that helps simplify the energy card drawing process when playing Pokémon TCG.

How It Works

  1. Player Selection: Toggle between Player 1 and Player 2, with each player having their own independent energy card values.

  2. Energy Distribution: Enter the number of each type of energy card in your deck (Grass, Fire, Water, etc.).

  3. Drawing Energy: Click the "Draw Energy Card" button to randomly draw an energy card based on the distribution you've entered.

  4. Energy Ratios: View the percentage distribution of your energy cards in the ratio display section.

Features

  • Two-player Support: Switch between two players, with each player's energy distribution saved independently.
  • Visual Feedback: Clear visual indication of which player is active.
  • Card Drawing Animation: A simple animation effect when drawing energy cards.
  • Sound Effects: Audio feedback when a card is drawn.
  • Responsive Design: Works well on different screen sizes.

Technologies Used

This project uses vanilla JavaScript, HTML, and CSS - no frameworks or libraries needed!

Getting Started

Simply open the index.html file in any modern web browser to start using the application.

Why I Made This

My kids love playing Pokémon TCG, but the classic version where about 1/3 of every deck is comprised of energy cards leads to needless bloat. The Pokemon TCG Pocket mobile game released 2024 proved that an expedited version of the game could be played without energy cards. This tool helps make the physical Pokemon TCG work more like the mobile version, by generating energy based on the ratio of total energy costs of each player's deck.

It was also a fun way for me to experiment with modern AI code assistants / vibe coding to see how quickly a simple but useful web application could be developed.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published