This a full chess game with a proper engine in 10 lines of BASIC.
at://did:web:gamesgamesgamesgames.games/games.gamesgamesgamesgames.game/3mgm6ihhhyi2l