Giter Site home page Giter Site logo

agtlucas / lila Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lichess-org/lila

3.0 0.0 0.0 153.84 MB

♞ lichess.org: the forever free, adless and open source chess server ♞

Home Page: https://lichess.org

License: GNU Affero General Public License v3.0

Scala 58.75% HTML 10.04% Shell 0.19% Batchfile 0.02% Python 0.08% PowerShell 0.03% Ruby 0.03% JavaScript 8.36% Java 1.10% CSS 8.57% TypeScript 12.85%

lila's Introduction

lichess.org

Build Status Crowdin Twitter

lichess.org

Lila (li[chess in sca]la) is a free online chess game server focused on realtime gameplay and ease of use.

It features a search engine, computer analysis distributed with fishnet, tournaments, simuls, forums, teams, tactic trainer, a mobile app, and a shared analysis board. The UI is available in more than 80 languages thanks to the community.

Lichess is written in Scala 2.11, and relies on Play 2.4 for the routing, templating, and JSON. Pure chess logic is contained in scalachess submodule. The server is fully asynchronous, making heavy use of Scala Futures and Akka 2 actors. Lichess talks to Stockfish deployed in an AI cluster of donated servers. It uses MongoDB to store more than 800 million games, which are indexed by elasticsearch. HTTP requests and websocket connections are proxied by nginx. The web client is written in TypeScript and snabbdom. The blog uses a free open content plan from prismic.io. All rated standard games are published in a free PGN database. Browser testing done with Browserstack. Please help us translate lichess with Crowdin.

Join us on discord or in the #lichess freenode IRC channel for more info. Use GitHub issues for bug reports and feature requests.

Installation

If you want to add a live chess section to your website, you are welcome to embed lichess 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, embed lichess using an <iframe> 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.

Credits

See the lichess Thanks page

Supported browsers

  • Chrome or Chromium, 1 year old or newer (fastest local analysis!)
  • Firefox, 1 year old or newer (second fastest local analysis!)
  • Opera 34 and newer (meh)
  • Safari 9 and newer (boo)
  • Microsoft Edge (yuck)
  • Internet Explorer 11 (eew)

Older browsers will not work. For your own sake, please upgrade. Security and performance, think about it!

License

Lila is licensed under the GNU Affero General Public License 3 or any later version at your choice with an exception for Highcharts. See COPYING for details.

lila's People

Contributors

antma avatar apunko avatar arex1337 avatar arxanas avatar brandone avatar clarkerubber avatar cyanfish avatar ddugovic avatar enigmahack avatar flugsio avatar freefal avatar greg-finley avatar happy0 avatar ianremsen avatar isaacl avatar lakinwecker avatar lapingvino avatar lukhas avatar myadzel avatar niklasf avatar ornicar avatar rocketbabe avatar seanysean avatar sergiuszkierat avatar steibock avatar superuser-does avatar thomas-daniels avatar unihedro avatar veloce avatar zy4 avatar

Stargazers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.