YGO Draft

A web application for creating and participating in custom Yu-Gi-Oh! card drafts with your friends. Upload your cube, configure your draft settings, and draft cards in real-time.
Features
- Custom Cubes: Upload your Yu-Gi-Oh! cube in CSV format
- Multiple Draft Formats: Support for Winston Draft and Rochester Draft
- Pack Rarity Customisation: Choose how many cards of each rarity are in a pack
- Custom Card Rarities: You choose how rare each card should be, or just use the Master Duel rarities.
- Real-time Drafting: Draft cards with friends with real-time updates
- Card Visualisation: View your drafted deck with card images and statistics
- YDK Export: Download your drafted deck in YDK format for use in simulators
- Draft Statistics: Analyse your draft with built-in charts and analytics
Getting Started
Prerequisites
- Node.js (v18.x or later)
- pnpm package manager
Installation
Clone the repository
git clone https://github.com/a-ws-m/ygo-draft.git
cd ygo-draft
Install dependencies
pnpm install
Set up your environment variables
cp .env.example .env
Update the .env file with your Supabase credentials
Start the development server
pnpm dev
Usage
Creating a Draft
- Visit the home page
- Upload your cube CSV file (you can create one at YGOProdeck Cube Builder)
- Configure your draft settings:
- Select a draft method (Winston or Rochester)
- Set the number of players
- Configure additional settings based on the draft method
- Start the draft and share the URL with other players
Participating in a Draft
- Open the shared draft URL
- Wait for all players to join
- The draft creator will start the draft when everyone is ready
- Follow the on-screen instructions to draft cards based on the selected method
Draft Methods
Winston Draft
In Winston Draft, cards are arranged into piles. On your turn:
- Look at the first pile
- Choose to either take that pile or pass to the next pile
- If you pass on all piles, you must take a card from the top of the deck
- After your selection, add a card from the deck to each pile you passed
Rochester Draft
In Rochester Draft:
- Cards are laid out face up in "packs"
- Players take turns selecting one card at a time from the available pack
- The direction of picking reverses each round
- When a pack is empty, a new one is opened
Technologies
Contributing
We welcome contributions to YGO Draft! Please check out our contributing guidelines for details on how to get started.
For bug reports and feature requests, please open an issue on GitHub.
License
This project is licensed under the AGPLv3 License - see the LICENSE file for details.
Acknowledgments
- YGOProdeck for their card database and cube builder
- All contributors and players who have helped test and improve this application
Created by a-ws-m