This web application provides a way to check if your Pokémon TCG Gym Leader Challenge deck is valid.
Per format rules, your deck needs to adhere to following checks:
Only one type of Pokémon is allowed in the deck.
Other than basic energies, you can only play one card of same name. For example, you cannot have two different Pikachu cards in your deck, even if they are a different card.
Pokémon cards with Rule Boxes are not allowed. This includes Pokémon EX, Mega Evolution, GX, V, VMAX, BREAK and Prism Star cards.
Format only allows cards published in Black and White set or after that.
ACE SPEC cards from Black and White era are not allowed.
Cards specifically banned by the format organizers are not allowed.
The codebase is split to three parts:
Inside /tooling
, you'll find instructions how to update the database.
This application provides a single end-point API using Netlify Functions as serverless functionality. It accepts the deck list and returns validity information. It's inside /netlify/functions
.
The web application inside /web
serves a frontend that provides the users a way to provide their decklist and see results of the validity checker.
The code is licensed with MIT license. See LICENSE.
This project uses PokemonTCG.io API for data validation.
This project is a recipient of Spice Program support.