Skip to content

Latest commit

ย 

History

History
66 lines (47 loc) ยท 1.63 KB

File metadata and controls

66 lines (47 loc) ยท 1.63 KB

3D Chess Project

A 3D chess game built with Next.js, React, Three.js, and TypeScript.

๐Ÿš€ Quick Start

The main project is located in the chess-3d/ directory.

```bash

Navigate to the project directory

cd chess-3d

Install dependencies

pnpm install

Start development server

pnpm dev

Build for production

pnpm build

Start production server

pnpm start ```

๐Ÿ“ Project Structure

```text 3dchess/ โ”œโ”€โ”€ chess-3d/ # Main Next.js application โ”‚ โ”œโ”€โ”€ app/ # Next.js 13+ app directory โ”‚ โ”œโ”€โ”€ components/ # React components โ”‚ โ”œโ”€โ”€ lib/ # Utility libraries โ”‚ โ”œโ”€โ”€ hooks/ # Custom React hooks โ”‚ โ”œโ”€โ”€ types/ # TypeScript type definitions โ”‚ โ””โ”€โ”€ package.json # Project dependencies โ””โ”€โ”€ README.md # This file ```

๐Ÿ”ง Recent Updates

โœ… Security Fixes: All dependabot vulnerabilities resolved
โœ… Three.js Upgrade: Updated to v0.170.0 with proper ES modules
โœ… React 19 Support: Compatible with the latest React version
โœ… TypeScript: Full type safety with @types/three

For detailed information about the dependabot fixes, see chess-3d/README-DEPENDABOT-FIXES.md.

๐ŸŽฎ Features

  • 3D chess board with Three.js graphics
  • Interactive piece movement
  • Modern React hooks for game state
  • Responsive design with Tailwind CSS
  • TypeScript for type safety

๐Ÿ›  Development

Make sure you're in the chess-3d/ directory when running any npm/pnpm commands:

```bash cd chess-3d pnpm dev # Start development server ```

The application will be available at http://localhost:3000.