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
nel_h2
MongoDB Atlas runs apps anywhere
MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
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