ChessLM is a next-generation chess platform that allows valid chess games against advanced Large Language Models (LLMs). Play against OpenAI, Anthropic, Google Gemini, and more in a sleek, distraction-free environment aimed at Grandmaster-level analysis and strategy.
- Multi-Engine Support: Challenge different AI personalities and capabilities (OpenAI GPT-4, Claude 3.5 Sonnet, Gemini Pro, Grok).
- Real-time Analysis: Get instant feedback on your moves.
- Sleek UI: A modern, responsive interface built with Shadcn/UI and Tailwind CSS.
- Grandmaster Persona: The AI is prompted to play with high-level strategic and tactical understanding.
- Framework: Next.js 14 (App Router)
- Language: TypeScript
- Styling: Tailwind CSS & Shadcn/UI
- State Management: Zustand
- Game Logic: Chess.js & React-Chessboard
- Node.js 18+
- npm or yarn
-
Clone the repository:
git clone https://github.com/ovishkh/ChessLM.git cd ChessLM -
Install dependencies:
make install # or npm install -
Configure Environment: Copy the example environment file and add your API keys.
cp .env.example .env.local
Then edit
.env.localwith your preferred editor. -
Run Development Server:
make dev # or npm run dev -
Open http://localhost:3000 in your browser.
We use a Makefile for convenience:
make install: Install dependencies.make dev: Start the development server.make build: Build for production.make lint: Run code linting.make clean: Clean build artifacts and node_modules.
We welcome contributions! Please check out our CONTRIBUTING.md for guidelines on how to get involved.
This project is licensed under the MIT License - see the LICENSE file for details.
Built with ❤️ by Ovi Shekh