开源软件名称(OpenSource Name):lichess-org/lichobile开源软件地址(OpenSource Url):https://github.com/lichess-org/lichobile开源编程语言(OpenSource Language):TypeScript 79.3%开源软件介绍(OpenSource Introduction):lichess.org/mobileLichess mobile is the lichess.org official application. It is written in TypeScript, with a bit of Kotlin and Swift. It is a web application that accesses the native SDK, thanks to Ionic capacitor. The rendering library is mithril.js. It talks to a native Stockfish engine, supporting multiple variants, through a capacitor plugin. Multi-variant chess library is brought by a JavaScript version of scalachess. Required dependencies
Android:
Setup projectMake sure to install all dependencies:
Capacitor needs the web app before sync, so build it:
Sync capacitor:
Running in the browser
Will serve assets at You should use a chromium based browser to be close to the android webview which is based on chrome. Be sure to Toggle Device Mode or else you won't be able to click on anything. Running in a device/emulatorBe sure to install all the dependencies and follow the steps above in the Setup project section. In order to build Stockfish, you need to download the current stockfish plugin NNUE file and save it to the proper location for each platform:
AndroidUsing command line:
Using android studio:
More information available here. iOSYou will need a Using command line:
Using Xcode:
More information available here. Advanced setupSee the wiki. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论