Skip to content
This repository has been archived by the owner on Oct 7, 2021. It is now read-only.

halilb/react-native-chess

Repository files navigation

Archived project. No maintenance.

Lichess didn't have an API when I built this project years ago. So I had to reverse engineer their websocket communication. This has surprisingly worked well over the years until recently.

So this project needs a rewrite using Lichess API and latest dependencies to work. I'm archiving it since I don't have any free time to invest nowadays.

Thank you for your interest!

react-native-chess

This is a simple chess client I built as a school project. It uses awesome Lichess platform as backend and puzzle sources.

The app is functional but codebase is unfortunately not clean. I want to improve the code quality and refactor duplicate code when I have some free time.

Requirements

Checkout react-native Getting Started page to install dependencies based on your OS and target platform.

Installation

Clone this repo

$ git clone https://github.com/halilb/react-native-chess
$ cd react-native-chess
$ npm install or yarn

How to start

$ react-native run-android
$ react-native run-ios

Running on Expo

I created a branch to make the app work on Expo. Checkout expo branch.

Screencasts

Playing puzzle

playing-puzzle

Finding Out puzzle solution

puzzle-solution

Playing with the machine

playing-with-machine

Creating a multiplayer game

create-multiplayer

Joining a multiplayer game

join-multiplayer

Licence

MIT