Play in your Firefox browser, no installation necessary, or upload to your server and play with a far-away friend. Games can be saved to a database and/or a simple text file. Includes a simple PHP mysql script for database connection.
Utilizes bitboards (arrays of two 32-bit numbers) and lookup tables for fast move-generation and analysis. Endings include checkmate and resignation; draws are yet to be implemented. The cpu engine is a work in progress, suggestions/contributions are welcome. Can log static-exchange stats and be configured for more.
Categories
Chess GamesFollow JavaScript Chess
Other Useful Business Software
Gen AI apps are built with MongoDB Atlas
MongoDB Atlas provides built-in vector search and a flexible document model so developers can build, scale, and run gen AI apps without stitching together multiple databases. From LLM integration to semantic search, Atlas simplifies your AI architecture—and it’s free to get started.
Rate This Project
Login To Rate This Project
User Reviews
-
nice ai ... easy edit ... but You can't play a friend across the internet like it says in the description.You have to figure that out Yourself.We are not all web developers here lol. Disappointed.
-
when the white pawn passes through all field and changes on other figure, this figure it is impossible to go. solution: replace in function doLog(fromId, toId, pieceTaken, moveType) this string if (moveType == 'promote') boardPosition[toId] = promoteTo; for this: if (moveType == 'promote'){ boardPosition[toId] = promoteTo; if(promoteTo=='2') boardPosition[toId] = 2; if(promoteTo=='3') boardPosition[toId] = 3; if(promoteTo=='4') boardPosition[toId] = 4; if(promoteTo=='5') boardPosition[toId] = 5; } WBR, Igan