Skip to content

SendArcade/Checkmate

Repository files navigation

Chess Game SDK

A TypeScript SDK for interacting with the Chess Game program on Solana blockchain.

Overview

This SDK provides a comprehensive set of tools and methods to interact with a chess game program deployed on Solana. It simplifies common operations like creating games, making moves, managing escrow, handling draw offers, and tracking game state with full chess rule validation.

Features

  • ♟️ Complete Chess Implementation: Full chess rule validation with support for all special moves
  • 🎮 Game Management: Create, join, cancel, and manage chess games
  • 💰 Escrow System: Secure handling of entry fees and prize distribution
  • 🕐 Time Controls: Support for various time control formats
  • 🤝 Draw System: Offer, accept, and reject draw proposals
  • 📊 Game Analytics: Comprehensive game state tracking and move history
  • 🔐 Type Safety: Full TypeScript support with comprehensive type definitions