Skip to content

lichess.org mobile application

License

GPL-3.0, Unknown licenses found

Licenses found

GPL-3.0
LICENSE
Unknown
COPYING.md
Notifications You must be signed in to change notification settings

gigawasian/lichobile

 
 

Repository files navigation

lichess mobile screenshots

Lichess mobile is a cordova application that runs on the crosswalk webview. It is written in TypeScript and JavaScript. The rendering library is mithril.js. It uses babel, browserify and gulp as build tools. It talks to a native Stockfish engine, supporting multiple variants, through a cordova plugin. Multi-variant chess library is brought by a JavaScript version of scalachess.

Requirements

Android:

  • the android SDK
  • SDK packages API 23
  • last version of Android SDK tools and platform tools
  • android ndk for stockfish compilation
  • make sure the sdk/tools/ directory is in your path, so you can use android command everywhere.

iOS:

  • OS X and Xcode version 8.x

Build the web application

Make sure you installed all deps:

$ npm install

Then copy env.json.example to env.json and modify settings to link your app to a lichess server.

To build and watch for changes:

$ npm run watch

Build stockfish

Android

Build the native code using:

ndk-build -C platforms/android

iOS

Through XCode, in the build settings menu:

  • Set C++ Language Dialect option to C++11 value.
  • Set C++ Standard Library option to lib++ value.

Advanced setup

See the wiki.

About

lichess.org mobile application

Resources

License

GPL-3.0, Unknown licenses found

Licenses found

GPL-3.0
LICENSE
Unknown
COPYING.md

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 78.5%
  • Stylus 16.6%
  • JavaScript 3.0%
  • Java 0.7%
  • Swift 0.7%
  • HTML 0.3%
  • Other 0.2%