Skip to content

knight174/2048-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

2048 Game

English | 简体中文

English

A classic 2048 puzzle game with multiple implementations, featuring smooth animations and responsive design.

🎮 Play Online

Visit 2048 Game to start playing

✨ Features

  • 🎯 Classic 2048 gameplay
  • 📱 Responsive design for mobile devices
  • ⌨️ Keyboard control support (↑↓←→)
  • 👆 Touch swipe support
  • 🎯 Score tracking
  • 🔄 New game at any time

🚀 Development

# Clone the repository
git clone https://github.com/knight174/2048-game.git

# Enter the project directory
cd 2048-game

# Install dependencies
npm install

# Start development server
npm run dev

# Build for production
npm run build

🛠️ Tech Stack

React Version

  • React 18
  • TypeScript
  • Vite
  • CSS Modules

Vue Version

  • Vue 3
  • TypeScript
  • Vite
  • Composition API

Vanilla JS Version

  • HTML5
  • CSS3
  • Pure JavaScript

📝 License

MIT

About

2048 小游戏(技术支持来自 Cursor|Windsurf)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published