Skip to content

About

A feature-complete, responsive Crazy Eights card game built with modern web technologies. Play against AI opponents on mobile and desktop.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Tony's Crazy Eights 🃏

这是一个使用 React + Tailwind CSS + Framer Motion 开发的经典“疯狂 8 点”纸牌游戏。

🚀 部署到 Vercel 指南

由于我是一个 AI 环境,无法直接操作您的 GitHub 或 Vercel 账户,请按照以下步骤手动完成部署:

第一步:同步到 GitHub

  1. 在 GitHub 上创建一个新的空仓库。
  2. 在本地终端(或您下载代码后的目录)执行:
    git init
    git add .
    git commit -m "Initial commit: Crazy Eights Game"
    git branch -M main
    git remote add origin <您的仓库地址>
    git push -u origin main

第二步:部署到 Vercel

  1. 登录 Vercel 官网。
  2. 点击 "Add New" -> "Project"。
  3. 导入您刚刚创建的 GitHub 仓库。
  4. 配置环境变量(非常重要):
    • 如果您的代码中使用了 Gemini API,请在 Vercel 的 Environment Variables 设置中添加 GEMINI_API_KEY。
  5. 点击 "Deploy"。

第三步:项目配置说明

  • Framework Preset: 自动识别为 Vite。
  • Build Command: npm run build。
  • Output Directory: dist。

🛠 技术栈

  • 前端框架: React 19
  • 样式: Tailwind CSS 4
  • 动画: Framer Motion (motion/react)
  • 图标: Lucide React
  • 构建工具: Vite

游戏规则

  • 匹配花色或点数。
  • 8 是万能牌:随时可以打出并改变当前花色。
  • 无牌可出时需摸牌。
  • 先清空手牌者获胜!

About

A feature-complete, responsive Crazy Eights card game built with modern web technologies. Play against AI opponents on mobile and desktop.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages