A modern card game built with React, TypeScript, and MongoDB.
- Install dependencies:
npm install
- Set up environment variables:
- Copy
.env.example
to.env
- Update MongoDB URI and JWT secret
- Start development server:
npm run dev
game-v2/
├── src/
│ ├── components/ # React components
│ ├── store/ # Zustand store files
│ ├── types/ # TypeScript type definitions
│ ├── utils/ # Utility functions
│ ├── api/ # API integration
│ ├── assets/ # Static assets
│ └── config/ # Configuration files
├── public/ # Public assets
└── vercel.json # Vercel deployment config
- Player dashboard with card management
- Battle system
- Task and achievement tracking
- Inventory management
- Shop system
The project is configured for deployment on Vercel with MongoDB integration.