A modern, interactive chess game built with React and Vite. Features smooth animations, responsive design, and an intuitive user interface.
- Interactive Chess Board: Full chess game with piece movement and rules validation
- Smooth Animations: Powered by GSAP for fluid piece movements and transitions
- Responsive Design: Works seamlessly on desktop and mobile devices
- Parallax Effects: Enhanced visual experience with tilt effects on interactive elements
- Smooth Scrolling: Lenis library for buttery smooth scrolling experience
- React 19: Latest React with modern hooks and features
- Vite: Fast build tool and development server
- GSAP: High-performance animation library
- Lenis: Smooth scrolling library
- React Parallax Tilt: 3D tilt effects for interactive components
- ESLint: Code linting and formatting
- Node.js (version 16 or higher)
- npm or yarn
-
Clone the repository:
git clone <repository-url> cd chess/vite-project
-
Install dependencies:
npm install
-
Start the development server:
npm run dev
-
Open your browser and navigate to
http://localhost:5173
npm run dev- Start the development servernpm run build- Build the project for productionnpm run preview- Preview the production build locallynpm run lint- Run ESLint for code quality checks
src/
├── components/
│ ├── Hero.jsx & Hero.css # Landing page hero section
│ └── Navbar.jsx & Navbar.css # Navigation component
├── assets/ # Static assets
├── App.jsx # Main application component
├── App.css # Global styles
├── main.jsx # Application entry point
└── index.css # Base styles
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Chess piece assets and game logic inspired by classic chess implementations
- UI components built with modern React patterns
- Animation effects powered by GSAP and Lenis libraries
