GithubHelp home page GithubHelp logo

eguneys / lichobile Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lichess-org/lichobile

0.0 2.0 0.0 52.59 MB

lichess.org mobile application

Home Page: http://lichess.org

License: MIT License

Shell 0.07% JavaScript 84.07% HTML 0.27% CSS 15.59%

lichobile's Introduction

lichess mobile

lichess mobile screenshots

Official lichess.org mobile application for Android & iOS.

  • Play bullet, blitz, classical, and correspondence chess.
  • Play multiple games simultaneously.
  • Find players, follow players and see your online friends
  • Challenge players
  • Chat with your opponent.
  • Practice with chess puzzles
  • Over The Board mode to play offline with a friend.
  • Play multiple variants, online or offline: Chess 960, King Of The Hill, Three-check, Antichess, Atomic chess, Horde, Racing Kings!
  • Game analysis with local computer evaluation
  • Board editor
  • Offline AI mode.
  • Available in 80 languages.
  • Designed for both phones and tablets, supporting landscape mode
  • 100% free, without ads, and opensource!

Get it now from lichess.org/mobile

Requirements

Android:

  • the android SDK
  • SDK packages API 23
  • last version of Android SDK tools and platform tools
  • android nkd 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 7.x

Init project after checkout

$ tarifa check --force

This will recreate the cordova folder with android and iOS platforms and also install plugins.

Build the web application

Make sure you installed all deps:

$ cd project
$ npm install

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

To build in dev mode:

$ gulp

To build and watch for changes:

$ gulp watch

To run in a browser it needs to have web security disabled for loading files and make requests to lichess. For mouse interaction you need to use device mode

Launch chrome with disabled security under linux

$ chromium --user-data-dir=$HOME/.chromium_dev_dir --disable-web-security

Launch chrome with disabled security under OSX

$ open -n -a Google\ Chrome --args --disable-web-security --user-data-dir=/Users/myUser/.chrome_dev_dir

Build stockfish

Android

Build the native code using:

ndk-build -C app/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.

Build and run on your device

Connect your device with USB debugging enabled and:

$ tarifa run [platform]

This will use the default configuration which use a development lichess server end point.

Please look at tarifa documentation for further documentation.

lichobile's People

Contributors

veloce avatar ornicar avatar freefal avatar frankcalise avatar peutetre avatar bapmrl avatar duaner avatar ybr avatar flugsio avatar niklasf avatar thelastproject avatar

Watchers

 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.