2-player version of the Pokémon TCG tabletop app. Built with Svelte 4 + SvelteKit.
To run it locally, download the repository, run npm ci
to install dependencies, rename .env.example
to .env.development
, and then run npm run dev
.
To build the app for deployment, run npm run build
. You can customize the build directory by adding a .env
file with a BUILD_DIR property.
The server-side code for passing actions between the two players is very simple. You can find all the necessary files here. If you don't require any custom actions that are not in the current version, you can use the live demo server during development.
The project uses card images from Limitless TCG (they include Japanese cards, are available in a small size, and have a convenient naming structure). When wanting to support formats with cards from before HGSS (2011), which are not on Limitless, it needs to be replaced or supplemented with a different image source, for example Pokémon TCG API.