Open Source Chess Game

Posted : admin On 01.09.2019

With these seven open source apps, you can play chess against your phone or an online opponent, study and analyze chess games, turn your phone into a basic chess.

Hello Oakmac! This is wonderful news! I've been looking for a fully functional javascript lib like this for a while now. I was resting my hopes on veltzer 'jschess' on github, but development stopped on that right before it was done. Your library supports movement of the pieces/drag drop etc. Etc., which is awesome!

I am in the process of developing a website I've owned it for years, but plan to make something interesting out of it. Do you have a donation link anywhere? +1 Looking forward to testing this out in the coming days. Until now have only been able to find a variety of PGN viewers which didn't fit my needs. Only features not covered by your examples that I would be interested in are undo move and underpromotion. I guess the first of these would be trivially easy to implement as I see it's covered by the chess.js library.

Donations

Would also like to donate to this. Many thanks for sharing. BorgQueen: I could write a tutorial for how to use this library, but maybe you should tell me exactly what you want to do? I'm guessing you want to be able to display pgn games that were played in your club? If that's so let me know here and I'll try to code up an example and tutorial. Let me know if you already have a webpage set up so I can figure out a way to add it to your html page (i can probably just give you an example change to the html file and tell you whatever else you need to set up).

Hi Zenchess, Firstly, let me extend my appreciation for your offer of help. +10 for you for that:-) I would like to: a) put up a diagram in the website, alongside some text so that I can advertise cool positions, tactics or fixed opening/endgame positions that are going to be run at the club. B) put up a game that viewers can click through to see a 'showcase game' encountered at the club, or perhaps an endgame demonstration that can also be clicked through so users can see the moves. I have ok knowledge in HTML, MySQL and PHP, limited experience with CSS and almost no exposure to JavaScript.

Screenshots

Hi BlauePeter, I'm a JS novice myself, but having alot of fun and learning heaps by messing around with this ChessBoard JS. First I notice you are missing the jQuery library, which you should download and link to your html file. Secondly you do not need to include both the chessboard-0.3.0.min.js and chessboard-0.3.0.js files. They contain the same functionality, the min version is intended for production whereas the other is recommended for development as I understand it. All the best. The 'min' version is typically compressed, with whitespace removed, including line breaks. This means everything's on one line, which combined with shortening variable names to one or two letters, makes it practically impossible to read and debug.

The point of which isn't necessarily to obfuscate intellectual property, but rather to load as quickly as possible as the file should be as small as possible. The other version should be readable and debuggable and that is why it is recommended when in development mode. Hope this helps. Actually it would not be difficult using ChessBoardJS as a PGN viewer when used in combination with the chess.js library. And (loadpgn) should be all you need to get started. Of course there are several PGN viewers around, however most of them I find are rather outdated, require additional browser plugins such as Java or are rather restrictive with what you can do with them. The ability to setup positions via a FEN string, or simply being able to move pieces on the board by dragging and dropping with no need for PGN files is awesome, and necessary for the current project I am working on.

README.md Lila (lichess in scala) is a free online chess game server focused on gameplay and ease of use. It features a, distributed with, a, and a. The UI is available in more than thanks to the community.

Lichess is written in, and relies on for the routing, templating, and JSON. Pure chess logic is contained in submodule. The server is fully asynchronous, making heavy use of Scala Futures and. Lichess talks to deployed in an of donated servers. It uses to store more than 600 million games, which are indexed. HTTP requests and websocket connections are proxied. The web client is written in and.

The uses a free open content plan from. All rated standard games are published in a. Browser testing done with. Please help us. Or in the #lichess freenode IRC channel for more info. Use for bug reports and feature requests.

Installation If you want to add a live chess section to your website, you are welcome to into your website. It's very easy to do. This project source code is open for other developers to have an example of non-trivial scala/play2/mongodb application. You're welcome to reuse as much code as you want for your projects and to get inspired by the solutions I propose to many common web development problems. But please don't just create a public lichess clone. Instead, into your website.

Also note that while I provide the source code, I do not offer support for your lichess instance. I will probably ignore any question about lichess installation and runtime issues.

HTTP API Feel free to use lichess API in your applications and websites. If the resource you need is not available yet, drop us an email at and we'll discuss it. API Limits To respect the API servers and avoid an IP ban, please wait 1 second between requests.

If you receive an HTTP response with a, please wait a full minute before resuming API usage. Please do not automate computer analysis requests. They're very expensive.

GET /api/user/ fetch one user curl https://lichess.org/api/user/thibault.