A web application simulator for a card game using Magic: The Gathering basic land cards.
- Each player's deck consists of 5 of each basic land type (Plains, Island, Swamp, Mountain, Forest) = 25 cards total
- Each player starts with 4 cards in hand
- Players can draw cards from their deck
First, install the dependencies:
npm installThen, run the development server:
npm run devOpen http://localhost:3000 with your browser to see the result.
- Create a new game with two players
- Each player starts with 4 cards from their shuffled 25-card deck
- Draw cards from the deck
- Visual representation of cards with color-coded land types
- Game log to track actions
- Next.js 14
- React 18
- TypeScript
- CSS Modules