chess.xnft is an Open Source AI chess game on Backpack xNFT
Here you can play as the white player and the black player is controlled by an AI library, which does move generation/validation, piece placement/movement, and check/checkmate/stalemate detection using 0x88 Move Generation Algorithm.
chess.xnft follows most of the modern chess rules.
Play the game on https://chess-xnft.vercel.app/
chess.nft is still not published on xNFT Library, to play the game in Backpack you need to
- Install the xNFT CLI
yarn add @coral-xyz/xnft-cli
2. Switch on developer mode on Backpack
3. Run on Simulator
npx xnft dev --iframe https://chess-xnft.vercel.app/
Source code: https://github.com/SunitRoy2703/chess.xnft