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
Auth0 for AI Agents now in GA
Connect your AI agents to apps and data more securely, give users control over the actions AI agents can perform and the data they can access, and enable human confirmation for critical agent actions.
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